Interface IRangeAdaptor<T,​C extends Comparable<?>>

    • Method Detail

      • getMax

        C getMax​(T param)
        Gets max value of range.
        Parameters:
        param -
        Returns:
        the max bound of the expression min <= X && X <= max. Returns null if needs maximum possible value.
      • getMin

        C getMin​(T param)
        Gets min value of range.
        Parameters:
        param -
        Returns:
        the min bound of the expression min <= X && X <= max. Returns null if needs minimum possible value.
      • adaptValueType

        C adaptValueType​(Object value)
        Adapts value type to the type of specific IRangeAdaptor implementation. To have the possibility to compare these values.
        Parameters:
        value - that is going to be compared with values returned by getMax(Object) and getMin(Object) values.
        Returns:
        value, casted to the type of specific IRangeAdaptor implementation.
      • useOriginalSource

        boolean useOriginalSource()