|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.query.BasicQueryResult.BasicQueryResultIterator
public class BasicQueryResult.BasicQueryResultIterator
The internal query result iterator supports all iterator methods plus close, allowing early release of resources.
Method Summary | |
---|---|
void |
close()
Close this iterator and release any resources held. |
boolean |
hasNext()
Return true if this query result iterator has not been closed and the internal iterator has more elements. |
boolean |
isClosed()
Return true if the user has closed this iterator. |
java.lang.Object |
next()
Advance and return the next element of the iterator. |
void |
remove()
Throw an exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void close()
close
in interface QueryResultIterator
public void remove()
remove
in interface java.util.Iterator
public boolean isClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |