|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.collections.functors.TruePredicate<T>
public final class TruePredicate<T>
Predicate implementation that always returns true.
Field Summary | |
---|---|
static Predicate |
INSTANCE
Singleton predicate instance |
Method Summary | |
---|---|
boolean |
evaluate(T object)
Evaluates the predicate returning true always. |
static Predicate |
getInstance()
Factory returning the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Predicate INSTANCE
Method Detail |
---|
public static Predicate getInstance()
public boolean evaluate(T object)
evaluate
in interface Predicate<T>
object
- the input object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |