Interface RamaAccumulatorAgg0<V>

Type Parameters:
V - Type of aggregated data
All Superinterfaces:
RamaAccumulatorAgg<V>, RamaSerializable, Serializable

public interface RamaAccumulatorAgg0<V> extends RamaAccumulatorAgg<V>
Interface for custom accumulator implementations of zero arguments. An accumulator starts with an initial value and updates that value with each input.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    accumulate(V currVal)
    Combine current aggregated value with new input to produce new aggregated value

    Methods inherited from interface com.rpl.rama.ops.RamaAccumulatorAgg

    initVal
  • Method Details

    • accumulate

      V accumulate(V currVal)
      Combine current aggregated value with new input to produce new aggregated value
      Parameters:
      currVal - Current aggregated value
      Returns:
      New aggregated value