java.lang.Object | +--org.apache.commons.collections.functors.AnyPredicateAll Implemented Interfaces:
AnyPredicate(Predicate[] predicates) Constructor that performs no validation. |
boolean | evaluate(Object object) Return the predicate result. |
static Predicate | getInstance(Predicate[] predicates) Factory to create the predicate. |
static Predicate | getInstance(Collection predicates) Factory to create the predicate. |
public AnyPredicate(Predicate[] predicates)
getInstance
if you want that.
public boolean evaluate(Object object)
public static Predicate getInstance(Collection predicates)
- if the predicates array is null
- if any predicate in the array is null
- if the predicates array has less than 2 elementspublic static Predicate getInstance(Predicate[] predicates)
- if the predicates array is null
- if the predicates array has less than 2 elements
- if any predicate in the array is null