Interface IReducer<T,​U,​V>

  • Type Parameters:
    T - accumulator to hold and update state
    U - type of input that can be handled
    V - type of reduced value from the accumulator
    All Known Implementing Classes:
    MeanReducer

    public interface IReducer<T,​U,​V>
    Apply an update to an accumulator for which a result can be extracted.
    • Method Detail

      • init

        T init()
      • reduce

        T reduce​(T accumulator,
                 U input)
      • extractResult

        V extractResult​(T accumulator)