Package org.cactoos.scalar
Class Not
- java.lang.Object
-
- org.cactoos.scalar.Not
-
public final class Not extends Object implements Scalar<Boolean>
Logical negative.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.7