Class NumericIntervalConstraint

    • Constructor Detail

      • NumericIntervalConstraint

        public NumericIntervalConstraint​(Object min,
                                         boolean includingMin,
                                         Object max,
                                         boolean includingMax)
        Use null value to disable a bound.

        Bounds could be any object having toString representating a number.

        min - The lower bound of the interval
        includingMin - true if the lower bound is included in the interval
        max - The upper bound of the interval
        includingMax - true if the upper bound is included in the interval