public interface IQueryResult<T> extends IQueryable<T>, java.lang.Iterable<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns whether this QueryResult is empty.
|
java.util.Iterator<T> |
iterator()
Returns an iterator on the collected objects.
|
T[] |
toArray(java.lang.Class<T> clazz)
Returns the collected objects as an array
|
java.util.Set<T> |
toSet()
Creates a new Set copy with the contents of this query result.
|
java.util.Set<T> |
toUnmodifiableSet()
Returns a Set backed by this query result.
|
queryboolean isEmpty()
true if this QueryResult has accepted any results,
and false otherwise.java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>T[] toArray(java.lang.Class<T> clazz)
clazz - The type of array to returnjava.lang.ArrayStoreException - the runtime type of the specified array is
not a super-type of the runtime type of every collected objectjava.util.Set<T> toSet()
java.util.Set<T> toUnmodifiableSet()
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.