Class AutoValue_Distribution


  • @Generated("com.google.auto.value.processor.AutoValueProcessor")
    final class AutoValue_Distribution
    extends Distribution
    • Field Detail

      • count

        private final long count
      • sum

        private final double sum
      • sumOfSquaredDeviations

        private final double sumOfSquaredDeviations
    • Method Detail

      • getCount

        public long getCount()
        Description copied from class: Distribution
        Returns the aggregated count.
        Specified by:
        getCount in class Distribution
        Returns:
        the aggregated count.
      • getSum

        public double getSum()
        Description copied from class: Distribution
        Returns the aggregated sum.
        Specified by:
        getSum in class Distribution
        Returns:
        the aggregated sum.
      • getSumOfSquaredDeviations

        public double getSumOfSquaredDeviations()
        Description copied from class: Distribution
        Returns the aggregated sum of squared deviations.

        The sum of squared deviations from the mean of the values in the population. For values x_i this is:

        Sum[i=1..n]((x_i - mean)^2)

        If count is zero then this field must be zero.

        Specified by:
        getSumOfSquaredDeviations in class Distribution
        Returns:
        the aggregated sum of squared deviations.
      • getBucketOptions

        @Nullable
        public Distribution.BucketOptions getBucketOptions()
        Description copied from class: Distribution
        Returns bucket options used to create a histogram for the distribution.
        Specified by:
        getBucketOptions in class Distribution
        Returns:
        the BucketOptions associated with the Distribution, or null if there isn't one.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object