Interface Aggregator<T,​R>

    • Method Detail

      • aggregate

        void aggregate​(T value)
        Add a value to the current aggregation.
      • combine

        void combine​(Aggregator<T,​R> otherSameType)
        Combine two aggregations of the same type.

        (Implementations will need to do an unchecked cast).

      • result

        R result()
        Provide the final result of the aggregation.