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