Class DataPoints.FlatMapIterator<T>

  • Type Parameters:
    T - The element type of the input iterator's nested list.
    All Implemented Interfaces:
    Iterator<List<T>>
    Enclosing class:
    DataPoints

    public abstract static class DataPoints.FlatMapIterator<T>
    extends Object
    implements Iterator<List<T>>
    This Iterator takes the input from an input Iterator and maps the output to a new type via a mapping Function. The input Iterator must provide a nested list (List<List<T>>) as its output. I.e. it iterates over a potentially large collection via a set of batches.