|
db4o - database for objects v1.04 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
- the db4o 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.A subsequent call to next() will return 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.ObjectSet
public 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 - database for objects v1.04 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |