Class ValidatorRange<V>

    • Constructor Detail

      • ValidatorRange

        public ValidatorRange​(Range<V> range)
        The constructor.
        Parameters:
        range - is the Range the value has to be within.
      • ValidatorRange

        public ValidatorRange​(V min,
                              V max)
        The constructor.
        Parameters:
        min - is the minimum value allowed.
        max - is the maximum value allowed.
    • Method Detail

      • getMin

        public Object getMin()
        Returns:
        the minimum allowed value. Typically of type <V> but this can not be guaranteed.
      • getMax

        public Object getMax()
        Returns:
        the maximum allowed value. Typically of type <V> but this can not be guaranteed.