public class RowIteratorAdapter extends RangeIteratorDecorator implements RowIterator
| Modifier and Type | Field and Description |
|---|---|
static RowIterator |
EMPTY
Static instance of an empty
RowIterator. |
| Constructor and Description |
|---|
RowIteratorAdapter(Collection collection)
Creates an iterator for the given collection.
|
RowIteratorAdapter(Iterator iterator)
Creates an adapter for the given
Iterator. |
RowIteratorAdapter(RangeIterator iterator)
Creates an adapter for the given
RangeIterator. |
| Modifier and Type | Method and Description |
|---|---|
Row |
nextRow()
Returns the next row.
|
getPosition, getSize, hasNext, next, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPosition, getSize, skipforEachRemaining, hasNext, next, removepublic static final RowIterator EMPTY
RowIterator.public RowIteratorAdapter(RangeIterator iterator)
RangeIterator.iterator - iterator of Rowspublic RowIteratorAdapter(Iterator iterator)
Iterator.iterator - iterator of Rowspublic RowIteratorAdapter(Collection collection)
collection - collection of Rowspublic Row nextRow()
nextRow in interface RowIteratorNoSuchElementException - if there is no next rowCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.