Class TruePredicate<T>
java.lang.Object
org.apache.commons.collections4.functors.AbstractPredicate<T>
org.apache.commons.collections4.functors.TruePredicate<T>
- Type Parameters:
- T- the type of the input to the predicate.
- All Implemented Interfaces:
- Serializable,- Predicate<T>,- Predicate<T>
Predicate implementation that always returns true.
- Since:
- 3.0
- See Also:
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionbooleanEvaluates the predicate returning true always.static <T> Predicate<T> Factory returning the singleton instance.Methods inherited from class org.apache.commons.collections4.functors.AbstractPredicateevaluate
- 
Field Details- 
INSTANCE
 
- 
- 
Method Details- 
truePredicateFactory returning the singleton instance.- Type Parameters:
- T- the type that the predicate queries
- Returns:
- the singleton instance
- Since:
- 3.1
 
- 
test
 
-