Package repast.simphony.query
Class AndQuery<T>
- java.lang.Object
-
- repast.simphony.query.AndQuery<T>
-
- All Implemented Interfaces:
Query<T>
public class AndQuery<T> extends Object implements Query<T>
Deprecated.UseContext.getObjectsAsStream(Class)
and the Java 8+ streaming APIStream
instead.A query whose result is the intersection of its sub queries.- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Iterable<T>
query()
Deprecated.Gets the intersection of the two queries specified in the constructor.Iterable<T>
query(Iterable<T> set)
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.
-
-
-
Method Detail
-
query
public Iterable<T> query()
Deprecated.Gets the intersection of the two queries specified in the constructor.
-
-