com.phoenixst.collections
public final class ContainsPredicate extends Object implements Predicate, Serializable
Predicate
which tests whether an object is an
element of a Collection
.
Since: 1.0
Version: $Revision: 1.2 $
Constructor Summary | |
---|---|
ContainsPredicate(Collection collection)
Creates a new ContainsPredicate .
|
Method Summary | |
---|---|
boolean | equals(Object object) |
boolean | evaluate(Object object) |
Collection | getCollection()
Returns the Collection being used by this
ContainsPredicate . |
int | hashCode() |
String | toString() |
ContainsPredicate
.
Note: This class does not copy the
constructor argument, so be careful not to alter it after
creating this ContainsPredicate
.Collection
being used by this
ContainsPredicate
.