org.tigris.gef.util
Class PredicateType

java.lang.Object
  extended by org.tigris.gef.util.PredicateType
All Implemented Interfaces:
java.io.Serializable, Predicate

public class PredicateType
extends java.lang.Object
implements Predicate

See Also:
Serialized Form

Constructor Summary
protected PredicateType(java.lang.Class[] pats)
           
protected PredicateType(java.lang.Class[] pats, int numPats)
           
 
Method Summary
static PredicateType create()
           
static PredicateType create(java.lang.Class c0)
           
static PredicateType create(java.lang.Class c0, java.lang.Class c1)
           
static PredicateType create(java.lang.Class c0, java.lang.Class c1, java.lang.Class c2)
           
 boolean isPredicateFor(java.lang.Object o)
           
 boolean predicate(java.lang.Object o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PredicateType

protected PredicateType(java.lang.Class[] pats)

PredicateType

protected PredicateType(java.lang.Class[] pats,
                        int numPats)
Method Detail

create

public static PredicateType create()

create

public static PredicateType create(java.lang.Class c0)

create

public static PredicateType create(java.lang.Class c0,
                                   java.lang.Class c1)

create

public static PredicateType create(java.lang.Class c0,
                                   java.lang.Class c1,
                                   java.lang.Class c2)

predicate

public boolean predicate(java.lang.Object o)
Specified by:
predicate in interface Predicate

isPredicateFor

public boolean isPredicateFor(java.lang.Object o)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object