public class TapIteratorForIndexedFunction<T> extends TapIterator<T>
every, index
current, exhausted, iterator, loaded
Constructor and Description |
---|
TapIteratorForIndexedFunction(Iterator<T> iterator,
IndexedFunction<T,Void> function) |
TapIteratorForIndexedFunction(Iterator<T> iterator,
int every,
IndexedFunction<T,Void> function) |
Modifier and Type | Method and Description |
---|---|
protected void |
performTap(T ret) |
loadNext, next
hasNext, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public TapIteratorForIndexedFunction(Iterator<T> iterator, IndexedFunction<T,Void> function)
public TapIteratorForIndexedFunction(Iterator<T> iterator, int every, IndexedFunction<T,Void> function)
protected void performTap(T ret)
performTap
in class TapIterator<T>