Class LazyAggregateLambdaFactory<TSource,​TKey,​TOrigAccumulate,​TResult>

  • Type Parameters:
    TSource - Type of the enumerable input source
    TKey - Type of the group-by key
    TOrigAccumulate - Type of the original accumulator
    TResult - Type of the enumerable output result
    All Implemented Interfaces:
    AggregateLambdaFactory<TSource,​TOrigAccumulate,​LazyAggregateLambdaFactory.LazySource<TSource>,​TResult,​TKey>

    public class LazyAggregateLambdaFactory<TSource,​TKey,​TOrigAccumulate,​TResult>
    extends java.lang.Object
    implements AggregateLambdaFactory<TSource,​TOrigAccumulate,​LazyAggregateLambdaFactory.LazySource<TSource>,​TResult,​TKey>
    Generate aggregate lambdas that preserve the input source before calling each aggregate adder, this implementation is generally used when we need to sort the input before performing aggregation.