Package repast.simphony.query
Class QueryUtils
- java.lang.Object
-
- repast.simphony.query.QueryUtils
-
public class QueryUtils extends Object
Utility functions for working with queries.- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description QueryUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Contains<T>
createContains(Iterable<T> iterable)
Creates a Contains predicate using the items in the specified iterable.
-
-
-
Method Detail
-
createContains
public static <T> Contains<T> createContains(Iterable<T> iterable)
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.
-
-