Interface PredicateQuery<T>

All Superinterfaces:
Query<T>

public interface PredicateQuery<T> extends Query<T>
Deprecated.
Use Context.getObjectsAsStream(Class) and the Java 8+ streaming API Stream instead.
Iterface marks a Query as dependent on an org.apache.commons.collections.Predicate. This Predicate can then be returned. Certain queries can use this information to do some query optimization.
Version:
$Revision$ $Date$
Author:
Nick Collier
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.commons.collections15.Predicate<T>
    Deprecated.
    Gets the Predicate that will be used in this Predicate's next call to query().

    Methods inherited from interface repast.simphony.query.Query

    query, query
  • Method Details

    • getQueryPredicate

      org.apache.commons.collections15.Predicate<T> getQueryPredicate()
      Deprecated.
      Gets the Predicate that will be used in this Predicate's next call to query().
      Returns:
      the Predicate that will be used in this Predicate's next call to query().