Class BoolOf

  • All Implemented Interfaces:
    Scalar<Boolean>

    public final class BoolOf
    extends Object
    implements Scalar<Boolean>
    Text as Boolean.

    There is no thread-safety guarantee.

    This class implements Scalar, which throws a checked Exception. This may not be convenient in many cases. To make it more convenient and get rid of the checked exception you can use the Unchecked decorator. Or you may use IoChecked to wrap it in an IOException.

    Since:
    0.2
    • Constructor Detail

      • BoolOf

        public BoolOf​(String txt)
        Ctor.
        Parameters:
        txt - True or false string
      • BoolOf

        public BoolOf​(Text text)
        Ctor.
        Parameters:
        text - True or false text