Class OrderedAggregateLambdaFactory.LazySource<TSource>

  • Type Parameters:
    TSource - Type of the enumerable input source.
    All Implemented Interfaces:
    java.lang.Iterable<TSource>
    Enclosing class:
    OrderedAggregateLambdaFactory<TSource,​TKey,​TSortKey,​TOrigAccumulate,​TResult>

    public static class OrderedAggregateLambdaFactory.LazySource<TSource>
    extends java.lang.Object
    implements java.lang.Iterable<TSource>
    Cache the input sources. (Will be sorted, aggregated in result selector.)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<TSource> list  
    • Constructor Summary

      Constructors 
      Constructor Description
      LazySource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void add​(TSource source)  
      java.util.Iterator<TSource> iterator()  
      • 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
    • Field Detail

      • list

        private final java.util.List<TSource> list
    • Constructor Detail

      • LazySource

        public LazySource()
    • Method Detail

      • add

        private void add​(TSource source)
      • iterator

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