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(java.util.Collection collection)
Creates an iterator for the given collection.
|
RowIteratorAdapter(java.util.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
public static final RowIterator EMPTY
RowIterator
.public RowIteratorAdapter(RangeIterator iterator)
RangeIterator
.iterator
- iterator of Row
spublic RowIteratorAdapter(java.util.Iterator iterator)
Iterator
.iterator
- iterator of Row
spublic RowIteratorAdapter(java.util.Collection collection)
collection
- collection of Row
spublic Row nextRow()
nextRow
in interface RowIterator
java.util.NoSuchElementException
- if there is no next rowCopyright © 2010 - 2020 Adobe. All Rights Reserved