public class RowIteratorAdapter extends RangeIteratorDecorator implements javax.jcr.query.RowIterator
| Modifier and Type | Field and Description |
|---|---|
static javax.jcr.query.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(javax.jcr.RangeIterator iterator)
Creates an adapter for the given
RangeIterator. |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.query.Row |
nextRow()
Returns the next row.
|
getPosition, getSize, hasNext, next, remove, skippublic static final javax.jcr.query.RowIterator EMPTY
RowIterator.public RowIteratorAdapter(javax.jcr.RangeIterator iterator)
RangeIterator.iterator - iterator of Rowspublic RowIteratorAdapter(Iterator iterator)
Iterator.iterator - iterator of Rowspublic RowIteratorAdapter(Collection collection)
collection - collection of Rowspublic javax.jcr.query.Row nextRow()
nextRow in interface javax.jcr.query.RowIteratorNoSuchElementException - if there is no next rowCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.