Class Histogram.Builder

    • Field Detail

      • buckets

        private double[] buckets
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • buckets

        public Histogram.Builder buckets​(double... buckets)
        Set the upper bounds of buckets for the histogram.
      • linearBuckets

        public Histogram.Builder linearBuckets​(double start,
                                               double width,
                                               int count)
        Set the upper bounds of buckets for the histogram with a linear sequence.
      • exponentialBuckets

        public Histogram.Builder exponentialBuckets​(double start,
                                                    double factor,
                                                    int count)
        Set the upper bounds of buckets for the histogram with an exponential sequence.