|
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. |
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. |
| 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.java.util.Iterator<T> iterator()
T[] toArray(java.lang.Class<T> clazz)
clazz - The type of array to return
java.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()
|
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.