public class VersionIteratorAdapter extends RangeIteratorDecorator
| Modifier and Type | Field and Description |
|---|---|
static VersionIterator |
EMPTY
Static instance of an empty
VersionIterator. |
| Constructor and Description |
|---|
VersionIteratorAdapter(RangeIterator iterator)
Creates an adapter for the given
RangeIterator. |
| Modifier and Type | Method and Description |
|---|---|
Version |
nextVersion()
Returns the next version.
|
getPosition, getSize, hasNext, next, remove, skippublic static final VersionIterator EMPTY
VersionIterator.public VersionIteratorAdapter(RangeIterator iterator)
RangeIterator.iterator - iterator of Versionspublic Version nextVersion()
NoSuchElementException - if there is no next version"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"