S - The type of the delegate iteratorT - The returned typepublic class DoFnIterator<S,T> extends Object implements Iterator<T>
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.Copyright © 2015 The Apache Software Foundation. All Rights Reserved.