Example usage for Java org.apache.commons.collections PredicateUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
Predicate | allPredicate(Predicate[] predicates) Create a new Predicate that returns true only if all of the specified predicates are true. |
Predicate | allPredicate(Collection predicates) Create a new Predicate that returns true only if all of the specified predicates are true. |
Predicate | andPredicate(Predicate predicate1, Predicate predicate2) Create a new Predicate that returns true only if both of the specified predicates are true. |
Predicate | anyPredicate(Predicate[] predicates) Create a new Predicate that returns true if any of the specified predicates are true. |
Predicate | anyPredicate(Collection predicates) Create a new Predicate that returns true if any of the specified predicates are true. |
Predicate | equalPredicate(Object value) Creates a Predicate that checks if the input object is equal to the specified object using equals(). |
Predicate | falsePredicate() Gets a Predicate that always returns false. |
Predicate | instanceofPredicate(Class type) Creates a Predicate that checks if the object passed in is of a particular type, using instanceof. |
Predicate | nonePredicate(Predicate[] predicates) Create a new Predicate that returns true if none of the specified predicates are true. |
Predicate | nonePredicate(Collection predicates) Create a new Predicate that returns true if none of the specified predicates are true. |
Predicate | notNullPredicate() Gets a Predicate that checks if the input object passed in is not null. |
Predicate | notPredicate(Predicate predicate) Create a new Predicate that returns true if the specified predicate returns false and vice versa. |
Predicate | onePredicate(Predicate[] predicates) Create a new Predicate that returns true if only one of the specified predicates are true. |
Predicate | onePredicate(Collection predicates) Create a new Predicate that returns true if only one of the specified predicates are true. |
Predicate | truePredicate() Gets a Predicate that always returns true. |
Predicate | uniquePredicate() Creates a Predicate that returns true the first time an object is encountered, and false if the same object is received again. |