Class Bucket


  • public class Bucket
    extends java.lang.Object
    Bucket class stores the number of values (count) in a range defined by minThreshold (included) and maxThreshold (excluded). This object is used by LongStatistics to create an ArrayList of Bucket objects during frequency analysis.
    Author:
    Xavier Spengler, Guy Vachet
    • Constructor Summary

      Constructors 
      Constructor Description
      Bucket​(int count, long minThreshold, long maxThreshold)  
      Bucket​(int count, long minTld, long maxTld, long median)  
    • Constructor Detail

      • Bucket

        public Bucket​(int count,
                      long minThreshold,
                      long maxThreshold)
      • Bucket

        public Bucket​(int count,
                      long minTld,
                      long maxTld,
                      long median)
    • Method Detail

      • getCount

        public int getCount()
      • getMinThreshold

        public long getMinThreshold()
      • getMaxThreshold

        public long getMaxThreshold()
      • setMedian

        public void setMedian​(long median)
      • getMedian

        public long getMedian()
      • toString

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