All Packages Class Hierarchy This Package Previous Next Index
Class COM.objectspace.jgl.predicates.UnaryNot
java.lang.Object
|
+----COM.objectspace.jgl.predicates.UnaryNot
- public final class UnaryNot
- extends Object
- implements UnaryPredicate
UnaryNot is a unary predicate that returns true if the result of executing
a unary predicate on its operands is false.
- See Also:
- BinaryNot
-
UnaryNot(UnaryPredicate)
- Construct myself with a single unary predicate object.
-
execute(Object)
- Perform my unary predicate on the operand and return true if the predicate
returns false.
UnaryNot
public UnaryNot(UnaryPredicate predicate)
- Construct myself with a single unary predicate object.
- Parameters:
- predicate - The unary predicate object, which should be a predicate.
execute
public boolean execute(Object object)
- Perform my unary predicate on the operand and return true if the predicate
returns false.
- Parameters:
- object - The operand.
- Returns:
- !predicate( object )
All Packages Class Hierarchy This Package Previous Next Index