public static class ResultIterator.ListIterator extends ResultIterator
ResultIterator.BufferedIterator, ResultIterator.CachedIterator, ResultIterator.EmptyIterator, ResultIterator.ListIterator, ResultIterator.SingleIterator| Modifier and Type | Field and Description |
|---|---|
int |
pointer |
java.util.ArrayList<ResultRow> |
res |
| Constructor and Description |
|---|
ListIterator(java.util.ArrayList<ResultRow> res) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Finalizes the iterator and performs any cleanup needed.
|
boolean |
hasNext()
Checks if there is another row available.
|
ResultRow |
next()
Gets the next row in the results and moves the iterator forward one row.
|
void |
reset()
Resets the iterator to its initial position.
|
public int pointer
public java.util.ArrayList<ResultRow> res
public ListIterator(java.util.ArrayList<ResultRow> res)
public boolean hasNext()
ResultIteratorhasNext in class ResultIteratorpublic ResultRow next() throws java.util.NoSuchElementException
ResultIteratornext in class ResultIteratorjava.util.NoSuchElementExceptionpublic void dispose()
ResultIteratordispose in class ResultIteratorpublic void reset()
ResultIteratorreset in class ResultIteratorCopyright 2004-2015 Wandora Team