Class StatisticValues.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Creates a new builder. The returned builder is equivalent to the builder generated by StatisticValues.builder().
    • Method Detail

      • maximum

        public StatisticValues.Builder maximum​(double maximum)
        The maximum value of the sample set.
        Parameters:
        maximum - the maximum value of the sample set
        Returns:
        this Builder object
      • minimum

        public StatisticValues.Builder minimum​(double minimum)
        The minimum value of the sample set.
        Parameters:
        minimum - the minimum value of the sample set
        Returns:
        this Builder object
      • sampleCount

        public StatisticValues.Builder sampleCount​(double sampleCount)
        The the number of samples used for the statistic set.
        Parameters:
        sampleCount - the number of samples used for the statistic set
        Returns:
        this Builder object
      • sum

        public StatisticValues.Builder sum​(double sum)
        The sum of values for the sample set.
        Parameters:
        sum - the sum of values for the sample set
        Returns:
        this Builder object
      • build

        public StatisticValues build()
        Returns a newly-created StatisticSet based on the contents of the Builder.