Package repast.simphony.query
Class NotQuery<T>
java.lang.Object
repast.simphony.query.NotQuery<T>
- All Implemented Interfaces:
Query<T>
Deprecated.
A query whose results are the negation of its sub-query. In practice, this means
the results of a NotQuery are those items in a context that are not members of the
the sub-query results.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionquery()
Deprecated.Gets an iterable over all the objects in the context that are not in the results of the sub-query specified in the constructor.Deprecated.Gets an iterable over all the objects in the context that are not in the results of the sub-query specified in the constructor AND are in the iterable parameter.
-
Constructor Details
-
NotQuery
Deprecated.Creates a NotQuery whose results will contain all the members of the specified context that are not in the specified query's results.- Parameters:
context
-query
-
-
-
Method Details
-
query
Deprecated.Gets an iterable over all the objects in the context that are not in the results of the sub-query specified in the constructor. -
query
Deprecated.Gets an iterable over all the objects in the context that are not in the results of the sub-query specified in the constructor AND are in the iterable parameter.
-
Context.getObjectsAsStream(Class)
and the Java 8+ streaming APIStream
instead.