|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.phoenixst.collections.AnyPredicate
public final class AnyPredicate
A 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 Summary | |
---|---|
AnyPredicate(Collection predicates)
Creates a new AnyPredicate . |
|
AnyPredicate(org.apache.commons.collections.Predicate[] predicates)
Creates a new AnyPredicate . |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnyPredicate(org.apache.commons.collections.Predicate[] predicates)
AnyPredicate
.
public AnyPredicate(Collection predicates)
AnyPredicate
.
Method Detail |
---|
public boolean evaluate(Object object)
evaluate
in interface org.apache.commons.collections.Predicate
public List getOperands()
List
of the argument
Predicates
being used by this
AnyPredicate
.
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |