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(java.util.Iterator<T> parent,
int every,
boolean withIndex,
groovy.lang.Closure<java.lang.Void> output) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
loadNext() |
T |
next() |
protected void |
performTap(T ret) |
hasNext, removepublic TapIterator(java.util.Iterator<T> parent, int every, boolean withIndex, groovy.lang.Closure<java.lang.Void> output)
protected void loadNext()
loadNext in class AbstractIterator<T>public T next()
next in interface java.util.Iterator<T>next in class AbstractIterator<T>protected void performTap(T ret)