@Internal public class ShortSummaryAggregator extends NumericSummaryAggregator<Short>
Modifier and Type | Class and Description |
---|---|
static class |
ShortSummaryAggregator.MaxShortAggregator
Aggregator for max operation.
|
static class |
ShortSummaryAggregator.MinShortAggregator
Aggregator for min operation.
|
static class |
ShortSummaryAggregator.SumShortAggregator
Aggregator for sum operation.
|
Constructor and Description |
---|
ShortSummaryAggregator() |
Modifier and Type | Method and Description |
---|---|
protected Aggregator<Short,Short> |
initMax() |
protected Aggregator<Short,Short> |
initMin() |
protected Aggregator<Short,Short> |
initSum() |
protected boolean |
isInfinite(Short number) |
protected boolean |
isNan(Short number) |
static Short |
max(Short a,
Short b)
Like Math.max() except for shorts.
|
static Short |
min(Short a,
Short b)
Like Math.min() except for shorts.
|
aggregate, combine, result
protected Aggregator<Short,Short> initMin()
initMin
in class NumericSummaryAggregator<Short>
protected Aggregator<Short,Short> initMax()
initMax
in class NumericSummaryAggregator<Short>
protected Aggregator<Short,Short> initSum()
initSum
in class NumericSummaryAggregator<Short>
protected boolean isNan(Short number)
isNan
in class NumericSummaryAggregator<Short>
protected boolean isInfinite(Short number)
isInfinite
in class NumericSummaryAggregator<Short>
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.