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 Details

    • QueryUtils

      public QueryUtils()
  • Method Details

    • 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.