Takes the inputs and accumulates.
Creates a new copy of this accumulator.
Creates a new copy of this accumulator, which is zero value.
Returns the id of this accumulator, can only be called after registration.
Returns true if this accumulator has been registered.
All accumulators must be registered before use, or it will throw exception.
Returns false if this accumulator instance has any values in it.
Merges another same-type accumulator into this one and update its state, i.e.
Returns the name of this accumulator, can only be called after registration.
Resets this accumulator, which is zero value.
Defines the current value of this accumulator