public static interface Aggregator.Accumulator
Modifier and Type | Method and Description |
---|---|
void |
add(Aggregator.Accumulator other)
Combines the content of another compatible accumulator with
the content of this one.
|
Object |
getResult()
Returns the aggregated value for the values accumulated so far.
|
void |
submit(Object datum)
Submits a value for accumulation.
|
void submit(Object datum)
datum
- value to accumulateObject getResult()
void add(Aggregator.Accumulator other)
other
were accumulated additionally into this one.other
- other compatible accumulatorCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.