|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tigris.gef.util.PredicateTrue
A class that implements Predicate and always returns true. This is useful when you are calling a method that accepts a Predicate to filter or select objects, but you just want all the objects, or the first object.
| Constructor Summary | |
PredicateTrue()
|
|
| Method Summary | |
boolean |
predicate(java.lang.Object obj)
|
static PredicateTrue |
theInstance()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PredicateTrue()
| Method Detail |
public boolean predicate(java.lang.Object obj)
predicate in interface Predicatepublic static PredicateTrue theInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||