|
db4o v1.10 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
query resultset.
The ObjectSet class serves as a cursor or iterator to navigate
through a set of objects retrieved by a call to
ObjectContainer.get(template).
| Method Summary | |
java.lang.Object |
current()
returns the current object in the ObjectSet or
NULL if there is no current object. |
boolean |
hasNext()
returns true if the ObjectSet has more elements. |
boolean |
isEmpty()
returns true if the ObjectSet is empty. |
java.lang.Object |
next()
returns the next object in the ObjectSet. |
void |
reset()
resets the ObjectSet cursor before the first element.
|
int |
size()
returns the number of elements in the ObjectSet. |
| Method Detail |
public java.lang.Object current()
ObjectSet or
NULL if there is no current object.ObjectSetpublic boolean hasNext()
true if the ObjectSet has more elements.true if the ObjectSet has more
elements.public boolean isEmpty()
true if the ObjectSet is empty.true if the ObjectSet is empty.public java.lang.Object next()
ObjectSet.ObjectSet.public void reset()
ObjectSet cursor before the first element.
next() will return the first element.public int size()
ObjectSet.ObjectSet.
|
db4o v1.10 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||