Interface StatisticAccumulator<T extends StatisticResult>
- Type Parameters:
T-StatisticResultbeing accumulated.
- All Known Implementing Classes:
GeometricMean,IntMax,IntMean,IntMin,IntStandardDeviation,IntSum,IntSumOfSquares,IntVariance,Kurtosis,LongMax,LongMean,LongMin,LongStandardDeviation,LongSum,LongSumOfSquares,LongVariance,Max,Mean,Min,Product,Skewness,StandardDeviation,Sum,SumOfLogs,SumOfSquares,Variance
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A mutable result container that accumulates a
StatisticResult.- Since:
- 1.1
-
Method Summary
-
Method Details
-
combine
Combines the state of theotherstatistic into this one.- Parameters:
other- Another statistic to be combined.- Returns:
thisinstance after combiningother.
-