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