Class DynamicRangeUtil.DynamicRangeInfo

  • Enclosing class:
    DynamicRangeUtil

    public static class DynamicRangeUtil.DynamicRangeInfo
    extends Object
    Holds parameters of a dynamic numeric range.
    • Field Detail

      • count

        public int count
        the number of items in the range
      • weight

        public long weight
        the summed weight of the items in the range
      • min

        public long min
        the lower bound of the range (inclusive)
      • max

        public long max
        upper bound of the range (inclusive)
      • centroid

        public double centroid
        the average value in the range
    • Constructor Detail

      • DynamicRangeInfo

        public DynamicRangeInfo​(int count,
                                long weight,
                                long min,
                                long max,
                                double centroid)
        All args constructor