public static boolean contains ( Range range , double value ) { return value >= range . getMinimum ( ) . doubleValue ( ) && value <= range . getMaximum ( ) . doubleValue ( ) ; }
Determines whether the value is contained by the range or not .