Class NumberRangeRule

  • public class NumberRangeRule
    extends Object
    Contains one rule for a number range
    • Constructor Detail

      • NumberRangeRule

        public NumberRangeRule​(double lowerBound,
                               double upperBound,
                               String value)
    • Method Detail

      • evaluate

        public String evaluate​(double compareValue)
        Evaluates if the current value is within the range. If so, it returns the value. Otherwise it returns null.
      • getLowerBound

        public double getLowerBound()
      • getUpperBound

        public double getUpperBound()
      • getValue

        public String getValue()
      • hashCode

        public int hashCode()
        hashCode in class Object