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
public interface StatisticAccumulator<T extends StatisticResult>
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.
-