T
- Type returned by the iteratorpublic class Nav.IndexCountingIterator<T> extends Object implements de.innovationgate.utils.SkippingIterator<T>, de.innovationgate.utils.IteratorWrapper<T>
Constructor and Description |
---|
IndexCountingIterator(de.innovationgate.utils.SkippingIterator<T> parent) |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
Iterator<T> |
getWrappedIterator() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
int |
skip(int nrOfElements) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public IndexCountingIterator(de.innovationgate.utils.SkippingIterator<T> parent)
public int getIndex()
public Iterator<T> getWrappedIterator()
getWrappedIterator
in interface de.innovationgate.utils.IteratorWrapper<T>
public int skip(int nrOfElements)
skip
in interface de.innovationgate.utils.SkippingIterator<T>