Package org.organicdesign.fp.xform
Class Xform.RunList
- java.lang.Object
-
- org.organicdesign.fp.xform.Xform.RunList
-
- All Implemented Interfaces:
Iterable
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Iteratoriterator()-
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
-
-