|
db4o 2.5 | ||||||||
| 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 to
iterate through a set of objects retrieved by a
call to
ObjectContainer.get(template).
Note that the used
ObjectContainer needs to remain opened during the
use of an ObjectSet to allow lazy instantiation.
ExtObjectSet for
extended functionality.| Method Summary | |
ExtObjectSet |
ext()
returns an ObjectSet with extended functionality. |
boolean |
hasNext()
returns true if the ObjectSet has more elements. |
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 ExtObjectSet ext()
public boolean hasNext()
true if the ObjectSet has more elements.true if the ObjectSet has more
elements.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 2.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||