Class Quantile


  • public class Quantile
    extends java.lang.Object
    Bucket class stores the number of values (number) in a range defined by min (included) and max (included). This object is used by LongStatistics to create an ArrayList of Bucket objects.
    Author:
    Guy Vachet
    • Constructor Detail

      • Quantile

        public Quantile​(int minIndex,
                        int maxIndex)
      • Quantile

        public Quantile​(int minIndex,
                        int maxIndex,
                        long min,
                        long max,
                        long median)
    • Method Detail

      • getMinIndex

        public int getMinIndex()
      • getMaxIndex

        public int getMaxIndex()
      • getNumber

        public int getNumber()
      • setMin

        public void setMin​(long min)
      • getMin

        public long getMin()
      • setMax

        public void setMax​(long max)
      • getMax

        public long getMax()
      • setMedian

        public void setMedian​(long median)
      • getMedian

        public long getMedian()
      • getDensity

        public double getDensity()
      • toString

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