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