Class EnhancedDoubleStatistics

    • Constructor Detail

      • EnhancedDoubleStatistics

        public EnhancedDoubleStatistics()
    • Method Detail

      • clear

        public void clear()
        Clears the accumulated values.
      • combine

        public void combine​(EnhancedDoubleStatistics other)

        Adds the statistics collected by another EnhancedDoubleStatistics object

        Parameters:
        other - the other EnhancedDoubleStatistics to combine
        Throws:
        NullPointerException - if the other EnhancedDoubleStatistics is null
      • getCount

        public double getCount()
        Gets the number items accepted.
        Returns:
        the count
      • getSum

        public double getSum()
        Gets the sum.
        Returns:
        the sum
      • getSumOfSquares

        public double getSumOfSquares()
        Gets the sum of squares.
        Returns:
        the sum of squares
      • getAverage

        public double getAverage()
        Gets the average.
        Returns:
        the average
      • getMin

        public double getMin()
        Gets the min.
        Returns:
        the min
      • getMax

        public double getMax()
        Gets the max.
        Returns:
        the max
      • getSampleStandardDeviation

        public double getSampleStandardDeviation()
        Gets the sample standard deviation.
        Returns:
        the sample standard deviation
      • getSampleVariance

        public double getSampleVariance()
        Gets the sample variance.
        Returns:
        the sample variance
      • getPopulationStandardDeviation

        public double getPopulationStandardDeviation()
        Gets the population standard deviation.
        Returns:
        the population standard deviation
      • getPopulationVariance

        public double getPopulationVariance()
        Gets the population variance.
        Returns:
        the population variance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object