public static class ResultIterator.SingleIterator extends ResultIterator
ResultIterator.BufferedIterator, ResultIterator.CachedIterator, ResultIterator.EmptyIterator, ResultIterator.ListIterator, ResultIterator.SingleIterator| Constructor and Description |
|---|
SingleIterator(ResultRow row) |
| 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 ResultRow row
public boolean returned
public SingleIterator(ResultRow row)
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