Package org.cactoos.scalar
Class BoolOf
- java.lang.Object
-
- org.cactoos.scalar.BoolOf
-
public final class BoolOf extends Object implements Scalar<Boolean>
Text asBoolean
.There is no thread-safety guarantee.
This class implements
Scalar
, which throws a checkedException
. This may not be convenient in many cases. To make it more convenient and get rid of the checked exception you can use theUnchecked
decorator. Or you may useIoChecked
to wrap it in an IOException.- Since:
- 0.2