public final class IdentityPredicate extends Object implements org.apache.commons.collections.Predicate, Serializable
Predicate
which simply tests the evaluate( object )
argument for reference equality with a
specified object.
This is mostly equivalent to the class of the same name in Jakarta Commons-Collections 3.0, except that it exposes the test object used in the constructor. No equivalent exists in version 2.1.
Constructor and Description |
---|
IdentityPredicate(Object testObject)
Creates a new
IdentityPredicate with the
specified test object. |
public IdentityPredicate(Object testObject)
IdentityPredicate
with the
specified test object.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.