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, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
forEachRemaining, hasNext, next, remove
public static final RowIterator EMPTY
RowIterator
.public RowIteratorAdapter(RangeIterator iterator)
RangeIterator
.iterator
- iterator of Row
spublic RowIteratorAdapter(Iterator iterator)
Iterator
.iterator
- iterator of Row
spublic RowIteratorAdapter(Collection collection)
collection
- collection of Row
spublic Row nextRow()
nextRow
in interface RowIterator
NoSuchElementException
- if there is no next rowCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.