public final class NotPredicate extends Object implements org.apache.commons.collections.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.
Constructor and Description |
---|
NotPredicate(org.apache.commons.collections.Predicate pred)
Creates a new
NotPredicate . |
public NotPredicate(org.apache.commons.collections.Predicate pred)
NotPredicate
.public boolean evaluate(Object object)
evaluate
in interface org.apache.commons.collections.Predicate
public org.apache.commons.collections.Predicate getOperand()
NotPredicate
.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.