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