Class FrozenNodeIteratorAdapter
- java.lang.Object
-
- org.apache.jackrabbit.commons.iterator.RangeIteratorAdapter
-
- org.apache.jackrabbit.commons.iterator.FrozenNodeIteratorAdapter
-
- All Implemented Interfaces:
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()
-
Methods inherited from class org.apache.jackrabbit.commons.iterator.RangeIteratorAdapter
getPosition, getSize, hasNext, next, remove, skip
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Constructor Detail
-
FrozenNodeIteratorAdapter
public FrozenNodeIteratorAdapter(VersionIterator iterator)
-
-
Method Detail
-
nextNode
public Node nextNode()
- Specified by:
nextNode
in interfaceNodeIterator
- Returns:
- the next frozen node.
-
-