Class FrozenNodeIteratorAdapter
- java.lang.Object
-
- org.apache.jackrabbit.commons.iterator.RangeIteratorAdapter
-
- org.apache.jackrabbit.commons.iterator.FrozenNodeIteratorAdapter
-
- All Implemented Interfaces:
java.util.Iterator
,NodeIterator
,RangeIterator
public class FrozenNodeIteratorAdapter extends RangeIteratorAdapter implements NodeIterator
Implements a node iterator that takes a version iterator and returns the frozen nodes of the underlying versions.
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.commons.iterator.RangeIteratorAdapter
EMPTY
-
-
Constructor Summary
Constructors Constructor Description FrozenNodeIteratorAdapter(VersionIterator iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
nextNode()
Returns the nextNode
in the iteration.-
Methods inherited from class org.apache.jackrabbit.commons.iterator.RangeIteratorAdapter
getPosition, getSize, hasNext, next, remove, skip
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Constructor Detail
-
FrozenNodeIteratorAdapter
public FrozenNodeIteratorAdapter(VersionIterator iterator)
-
-
Method Detail
-
nextNode
public Node nextNode()
Returns the nextNode
in the iteration.- Specified by:
nextNode
in interfaceNodeIterator
- Returns:
- the next frozen node.
-
-