public class TransformingIteratorForIndexedFunction<T,U> extends TransformingIterator<T,U>
index, inputIterator
current, exhausted, iterator, loaded
Constructor and Description |
---|
TransformingIteratorForIndexedFunction(Iterator<T> iterator,
IndexedFunction<T,U> mapping) |
Modifier and Type | Method and Description |
---|---|
protected U |
getMappedValue(T next) |
protected void |
setDelegate(T next) |
loadNext
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public TransformingIteratorForIndexedFunction(Iterator<T> iterator, IndexedFunction<T,U> mapping)
protected void setDelegate(T next)
setDelegate
in class TransformingIterator<T,U>
protected U getMappedValue(T next)
getMappedValue
in class TransformingIterator<T,U>