|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectSet<Clazz>
query resultset.
The ObjectSet
interface serves as a cursor to
iterate through a set of objects retrieved by a query.
Method Summary | |
---|---|
boolean |
hasNext()
returns true if the ObjectSet has more elements. |
Clazz |
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 . |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
Methods inherited from interface java.util.Iterator |
---|
remove |
Method Detail |
---|
boolean hasNext()
true
if the ObjectSet
has more elements.
hasNext
in interface java.util.Iterator<Clazz>
true
if the ObjectSet
has more
elements.Clazz next()
ObjectSet
.
next
in interface java.util.Iterator<Clazz>
ObjectSet
.void reset()
ObjectSet
cursor before the first element. next()
will return the first element.
int size()
ObjectSet
.
size
in interface java.util.Collection<Clazz>
size
in interface java.util.List<Clazz>
ObjectSet
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |