public class RangeIteratorDecorator extends Object
RangeIterators.| Modifier and Type | Method and Description |
|---|---|
long |
getPosition()
Delegated to the underlying iterator.
|
long |
getSize()
Delegated to the underlying iterator.
|
boolean |
hasNext()
Delegated to the underlying iterator.
|
Object |
next()
Delegated to the underlying iterator.
|
void |
remove()
Delegated to the underlying iterator.
|
void |
skip(long n)
Delegated to the underlying iterator.
|
public long getPosition()
public long getSize()
public void skip(long n)
throws NoSuchElementException
n - number of elements to skipNoSuchElementException - if skipped past the last elementpublic boolean hasNext()
true if the iterator has more elements,
false otherwisepublic Object next() throws NoSuchElementException
NoSuchElementException - if there are no more elementspublic void remove()
throws UnsupportedOperationException,
IllegalStateException
UnsupportedOperationException - if the operation is not supportedIllegalStateException - if there is no element to be removed"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"