Package repast.simphony.query
Class AndQuery<T>
java.lang.Object
repast.simphony.query.AndQuery<T>
- All Implemented Interfaces:
Query<T>
Deprecated.
A query whose result is the intersection of its sub queries.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionquery()
Deprecated.Gets the intersection of the two queries specified in the constructor.Deprecated.Returns an iterable over the intersection of the two queries specified in the constructor where the results of that intersection are in the iterable parameter.
-
Constructor Details
-
AndQuery
Deprecated.Creates an AndQuery from the two sub-queries.- Parameters:
query1
-query2
-
-
-
Method Details
-
query
Deprecated.Gets the intersection of the two queries specified in the constructor. -
query
Deprecated.Returns an iterable over the intersection of the two queries specified in the constructor where the results of that intersection are in the iterable parameter.
-
Context.getObjectsAsStream(Class)
and the Java 8+ streaming APIStream
instead.