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

Constructor Index

 o UnaryNot(UnaryPredicate)
Construct myself with a single unary predicate object.

Method Index

 o execute(Object)
Perform my unary predicate on the operand and return true if the predicate returns false.

Constructors

 o UnaryNot
 public UnaryNot(UnaryPredicate predicate)
Construct myself with a single unary predicate object.

Parameters:
predicate - The unary predicate object, which should be a predicate.

Methods

 o 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