public static interface Combine.AccumulatingCombineFn.Accumulator<InputT,AccumT,OutputT>
AccumulatingCombineFn
.Modifier and Type | Method and Description |
---|---|
void |
addInput(InputT input)
Adds the given input value to this accumulator, modifying this accumulator.
|
OutputT |
extractOutput()
Returns the output value that is the result of combining all the input values represented
by this accumulator.
|
void |
mergeAccumulator(AccumT other)
Adds the input values represented by the given accumulator into this accumulator.
|
void addInput(InputT input)
void mergeAccumulator(AccumT other)
OutputT extractOutput()