JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.alsUtility
Class ObjectCompatible

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

public class ObjectCompatible
extends java.lang.Object
implements Predicate

See Also:
Compatible, Serialized Form

Field Summary
protected  Compatible object
          object to be compatible with
 
Constructor Summary
ObjectCompatible(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 Compatible object
object to be compatible with

Constructor Detail

ObjectCompatible

public ObjectCompatible(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
Parameters:
o - must implement Compatible
Returns:
true if Object o is compatible with object
See Also:
Compatible

JavaGenes, NASA Ames. Written largely by Al Globus