public final class TransformingIterator<T,U>
extends java.lang.Object
implements java.util.Iterator<U>
Modifier and Type | Field and Description |
---|---|
protected java.util.Iterator<T>[] |
backing_iterators |
protected java.util.Iterator<T> |
current_iter |
protected int |
index |
protected U |
next_item |
protected Transformation<T,U> |
transformation |
Constructor and Description |
---|
TransformingIterator(java.util.Collection<java.util.Iterator<T>> iters,
Transformation<T,U> trans) |
TransformingIterator(java.util.Iterator<T>[] iters,
Transformation<T,U> trans) |
TransformingIterator(java.util.Iterator<T> iter,
Transformation<T,U> trans) |
protected U next_item
protected java.util.Iterator<T> current_iter
protected int index
protected java.util.Iterator<T>[] backing_iterators
protected Transformation<T,U> transformation
public TransformingIterator(java.util.Iterator<T> iter, Transformation<T,U> trans)
public TransformingIterator(java.util.Collection<java.util.Iterator<T>> iters, Transformation<T,U> trans)
public TransformingIterator(java.util.Iterator<T>[] iters, Transformation<T,U> trans)