|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IQueryResult<T>
An IQueryResult represents the results of a query.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.equinox.p2.query.IQueryable |
---|
query |
Method Detail |
---|
boolean isEmpty()
true
if this QueryResult has accepted any results,
and false
otherwise.Iterator<T> iterator()
T[] toArray(Class<T> clazz)
clazz
- The type of array to return
ArrayStoreException
- the runtime type of the specified array is
not a super-type of the runtime type of every collected objectSet<T> toSet()
Set<T> toUnmodifiableSet()
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.