Package javax.jcr
Interface NodeIterator
-
- All Superinterfaces:
Iterator,RangeIterator
public interface NodeIterator extends RangeIterator
Allows easy iteration through a list ofNodes withnextNodeas well as askipmethod inherited fromRangeIterator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodenextNode()Returns the nextNodein the iteration.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
nextNode
Node nextNode()
Returns the nextNodein the iteration.- Returns:
- the next
Nodein the iteration. - Throws:
NoSuchElementException- if iteration has no moreNodes.
-
-