Package javax.jcr.query
Interface RowIterator
-
- All Superinterfaces:
java.util.Iterator
,RangeIterator
- All Known Implementing Classes:
RowIteratorAdapter
public interface RowIterator extends RangeIterator
Allows easy iteration through a list ofRow
s withnextRow
as well as askip
method inherited fromRangeIterator
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Row
nextRow()
Returns the nextRow
in the iteration.-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
nextRow
Row nextRow()
Returns the nextRow
in the iteration.- Returns:
- the next
Row
in the iteration. - Throws:
java.util.NoSuchElementException
- if iteration has no moreRow
s.
-
-