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, skip
public static final javax.jcr.query.RowIterator EMPTY
RowIterator
.public RowIteratorAdapter(javax.jcr.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 javax.jcr.query.Row nextRow()
nextRow
in interface javax.jcr.query.RowIterator
NoSuchElementException
- if there is no next rowCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.