public final class AnyPredicate extends Object implements org.apache.commons.collections.Predicate, Serializable
Predicate
which returns the logical short-circuit
or of its operands.
This is mostly equivalent to the class of the same name in Jakarta Commons-Collections 3.0. The deserialization process in this version checks for null fields. No equivalent exists in version 2.1.
Constructor and Description |
---|
AnyPredicate(Collection predicates)
Creates a new
AnyPredicate . |
AnyPredicate(org.apache.commons.collections.Predicate[] predicates)
Creates a new
AnyPredicate . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
boolean |
evaluate(Object object) |
List |
getOperands()
Returns an unmodifiable
List of the argument
Predicates being used by this
AnyPredicate . |
int |
hashCode() |
String |
toString() |
public AnyPredicate(org.apache.commons.collections.Predicate[] predicates)
AnyPredicate
.public AnyPredicate(Collection predicates)
AnyPredicate
.See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.