public class VersionIteratorAdapter extends RangeIteratorDecorator implements javax.jcr.version.VersionIterator
RangeIterators or Iterators
into VersionIterators.| Modifier and Type | Field and Description |
|---|---|
static javax.jcr.version.VersionIterator |
EMPTY
Static instance of an empty
VersionIterator. |
| Constructor and Description |
|---|
VersionIteratorAdapter(java.util.Collection collection)
Creates an iterator for the given collection.
|
VersionIteratorAdapter(java.util.Iterator iterator)
Creates an adapter for the given
Iterator. |
VersionIteratorAdapter(javax.jcr.RangeIterator iterator)
Creates an adapter for the given
RangeIterator. |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.version.Version |
nextVersion()
Returns the next version.
|
getPosition, getSize, hasNext, next, remove, skippublic static final javax.jcr.version.VersionIterator EMPTY
VersionIterator.public VersionIteratorAdapter(javax.jcr.RangeIterator iterator)
RangeIterator.iterator - iterator of Versionspublic VersionIteratorAdapter(java.util.Iterator iterator)
Iterator.iterator - iterator of Versionspublic VersionIteratorAdapter(java.util.Collection collection)
collection - collection of VersionsCopyright © 2010 - 2025 Adobe. All Rights Reserved