Package repast.simphony.util.collections
Class Contains<T>
java.lang.Object
repast.simphony.util.collections.Contains<T>
- All Implemented Interfaces:
org.apache.commons.collections15.Predicate<T>
Predicate that returns true if the specified object is contained by
a Set.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Contains
-
-
Method Details
-
evaluate
Evaluates to true if the specified object is in the set given in the constructor.- Specified by:
evaluate
in interfaceorg.apache.commons.collections15.Predicate<T>
- Parameters:
obj
-- Returns:
- true if the specified object is in the set given in the constructor, otherwise false.
-