org.tigris.gef.util
Class PredicateStringMatch

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

public class PredicateStringMatch
extends java.lang.Object
implements Predicate

See Also:
Serialized Form

Field Summary
static int MAX_PATS
           
 
Constructor Summary
protected PredicateStringMatch(java.lang.String[] pats, int numPats)
           
 
Method Summary
static Predicate create(java.lang.String pat)
           
 boolean predicate(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PATS

public static int MAX_PATS
Constructor Detail

PredicateStringMatch

protected PredicateStringMatch(java.lang.String[] pats,
                               int numPats)
Method Detail

create

public static Predicate create(java.lang.String pat)

predicate

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