JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.alsUtility
Class ObjectEquals

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

public class ObjectEquals
extends java.lang.Object
implements Predicate

See Also:
Serialized Form

Field Summary
protected  java.lang.Object object
          object to be equal to
 
Constructor Summary
ObjectEquals(java.lang.Object o)
           
 
Method Summary
 boolean execute(java.lang.Object o)
          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

object

protected java.lang.Object object
object to be equal to

Constructor Detail

ObjectEquals

public ObjectEquals(java.lang.Object o)
Method Detail

execute

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

Specified by:
execute in interface Predicate
Returns:
object.equals(o)

JavaGenes, NASA Ames. Written largely by Al Globus