Package repast.simphony.query
Class QueryUtils
java.lang.Object
repast.simphony.query.QueryUtils
Utility functions for working with queries.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Contains<T>
createContains
(Iterable<T> iterable) Creates a Contains predicate using the items in the specified iterable.
-
Constructor Details
-
QueryUtils
public QueryUtils()
-
-
Method Details
-
createContains
Creates a Contains predicate using the items in the specified iterable. The predicate will true if passed an object that is in the iterable.- Parameters:
iterable
-- Returns:
- a Contains predicate using the items in the specified iterable.
-