T - the type of the iterator elementspublic class IndexedIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
IndexedIterator(int start,
int step,
java.util.Iterator<? extends T> iterator) |
IndexedIterator(java.util.Iterator<? extends T> iterator) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
boolean |
hasNext() |
T |
next() |
void |
remove() |