Package javax.jcr.version
Interface VersionIterator
-
- All Superinterfaces:
java.util.Iterator
,RangeIterator
- All Known Implementing Classes:
VersionIteratorAdapter
public interface VersionIterator extends RangeIterator
Allows easy iteration through a list ofVersion
s objects withnextVersion
as well as askip
method inherited fromRangeIterator
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Version
nextVersion()
Returns the nextVersion
in the iteration.-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
nextVersion
Version nextVersion()
Returns the nextVersion
in the iteration.- Returns:
- the next
Version
in the iteration. - Throws:
java.util.NoSuchElementException
- if iteration has no moreVersion
s.
-
-