Interface StatisticAccumulator<T extends StatisticResult>

Type Parameters:
T - StatisticResult being 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

    Modifier and Type
    Method
    Description
    combine(T other)
    Combines the state of the other statistic into this one.
  • Method Details

    • combine

      T combine(T other)
      Combines the state of the other statistic into this one.
      Parameters:
      other - Another statistic to be combined.
      Returns:
      this instance after combining other.