Class BucketValue

    • Constructor Detail

      • BucketValue

        protected BucketValue​(java.lang.String label,
                              java.lang.Integer level,
                              ConstantValue<?> inclusiveFrom,
                              ConstantValue<?> exclusiveTo)
    • Method Detail

      • getFrom

        public ConstantValue<?> getFrom()
        Returns the inclusive-from value of this bucket.
        Returns:
        The from-value.
      • getTo

        public ConstantValue<?> getTo()
        Returns the exclusive-to value of this bucket.
        Returns:
        The to-value.
      • compareTo

        public int compareTo​(BucketValue rhs)
        Specified by:
        compareTo in interface java.lang.Comparable<BucketValue>
      • 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