|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- type of the processed resourcepublic interface CloseableIterator<T>
This class implements client side closeable iterator for the processing of long streamed results.
Method Summary | |
---|---|
void |
close()
Closes the current iterator and all subsequent operations will raise exception. |
boolean |
hasNext()
Checks whether the next result could be returned. |
boolean |
isClosed()
Verifies if the current iterator is closed. |
T |
next()
Fetches the next result from the iterator. |
void |
remove()
Removes the current item from the iterated collection. |
Method Detail |
---|
boolean hasNext()
hasNext
in interface java.util.Iterator<T>
T next()
next
in interface java.util.Iterator<T>
void remove()
remove
in interface java.util.Iterator<T>
void close()
boolean isClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |