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, skip
public static final VersionIterator EMPTY
VersionIterator
.public VersionIteratorAdapter(RangeIterator iterator)
RangeIterator
.iterator
- iterator of Version
spublic Version nextVersion()
NoSuchElementException
- if there is no next version"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"