Class TruePredicate
- java.lang.Object
-
- org.apache.commons.collections.functors.TruePredicate
-
- All Implemented Interfaces:
java.io.Serializable,Predicate
public final class TruePredicate extends java.lang.Object implements Predicate, java.io.Serializable
Predicate implementation that always returns true.- Since:
- Commons Collections 3.0
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(java.lang.Object object)Evaluates the predicate returning true always.static PredicategetInstance()Factory returning the singleton instance.
-