public class DoFnIterator<S,T>
extends Object
implements Iterator<T>
An Iterator<T> that combines a delegate Iterator<S> and a DoFn<S, T>, generating
data by passing the contents of the iterator through the function. Note that the input DoFn should
have both its setContext and initialize functions called before it is passed to
the constructor.