com.phoenixst.collections
public final class NotPredicate extends Object implements Predicate, Serializable
Predicate
which returns the logical converse of its
operand.
This is mostly equivalent to the class of the same name in Jakarta Commons-Collections 3.0. This version exposes its constructor argument through a public accessor method. The deserialization process in this version checks for null fields. No equivalent exists in version 2.1.
Since: 1.0
Version: $Revision: 1.10 $
Constructor Summary | |
---|---|
NotPredicate(Predicate pred)
Creates a new NotPredicate . |
Method Summary | |
---|---|
boolean | equals(Object object) |
boolean | evaluate(Object object) |
Predicate | getOperand()
Returns the operand being used by this
NotPredicate . |
int | hashCode() |
String | toString() |
NotPredicate
.NotPredicate
.