public class TransformingIterator<T,U> extends AbstractIterator<U>
| Modifier and Type | Field and Description |
|---|---|
protected int |
index |
protected java.util.Iterator<T> |
inputIterator |
current, exhausted, iterator, loaded| Constructor and Description |
|---|
TransformingIterator(java.util.Iterator<T> iterator,
groovy.lang.Closure<U> mapping,
boolean withIndex) |
| Modifier and Type | Method and Description |
|---|---|
protected U |
getMappedValue(T next) |
protected void |
loadNext() |
protected void |
setDelegate(T next) |
hasNext, next, removeprotected final java.util.Iterator<T> inputIterator
protected int index