JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.alsUtility
Class Not

java.lang.Object
  extended bygov.nasa.alsUtility.Not
All Implemented Interfaces:
Predicate, java.io.Serializable

public class Not
extends java.lang.Object
implements Predicate

See Also:
Serialized Form

Field Summary
protected  Predicate predicate
          predicate to execute on objects
 
Constructor Summary
Not(Predicate p)
           
 
Method Summary
 boolean execute(java.lang.Object object)
          executes this predicate on object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

predicate

protected Predicate predicate
predicate to execute on objects

Constructor Detail

Not

public Not(Predicate p)
Method Detail

execute

public boolean execute(java.lang.Object object)
Description copied from interface: Predicate
executes this predicate on object

Specified by:
execute in interface Predicate
Returns:
not predicate executed on object

JavaGenes, NASA Ames. Written largely by Al Globus