Class Xform.RunList

  • All Implemented Interfaces:
    Iterable
    Enclosing class:
    Xform<A>

    protected static class Xform.RunList
    extends Object
    implements Iterable
    A RunList is a list of Operations "compiled" from an Xform. It contains an Iterable data source (or some day and array source or List source) and a List of Operation op-codes. A RunList is also a SourceProvider, since the output of one transform can be the input to another. FlatMap is implemented that way. Notice that there are almost no generic types used here: Since the input could be one type, and each map or flatmap operation could change that to another type. For speed, we ignore all that in the "compiled" version and just use Objects and avoid any wrapping or casting.