public static class ShortSummaryAggregator.MaxShortAggregator extends Object implements Aggregator<Short,Short>
Constructor and Description |
---|
MaxShortAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(Short value)
Add a value to the current aggregation.
|
void |
combine(Aggregator<Short,Short> other)
Combine two aggregations of the same type.
|
Short |
result()
Provide the final result of the aggregation.
|
public void aggregate(Short value)
Aggregator
aggregate
in interface Aggregator<Short,Short>
public void combine(Aggregator<Short,Short> other)
Aggregator
(Implementations will need to do an unchecked cast).
combine
in interface Aggregator<Short,Short>
public Short result()
Aggregator
result
in interface Aggregator<Short,Short>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.