Constructor and Description |
---|
SkipIterator(Iterator<T> iterator) |
Modifier and Type | Method and Description |
---|---|
static <T> SkipIterator<T> |
create(Iterator<T> iterator) |
long |
getPosition() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
long |
skip(long skipNum)
Attempts to skip a number of elements
|
public static <T> SkipIterator<T> create(Iterator<T> iterator)
public long skip(long skipNum)
skipNum
- number of elements to skippublic long getPosition()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"