Class Xform.RunList

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

    protected static class Xform.RunList
    extends java.lang.Object
    implements java.lang.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.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator iterator()  
      static Xform.RunList of​(Xform.RunList prv, java.lang.Iterable src)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • iterator

        public java.util.Iterator iterator()
        Specified by:
        iterator in interface java.lang.Iterable