double function ( double arg0 ) { double loc0 = arg0 ; if ( ! contains ( arg0 ) ) { if ( arg0 > this . upper ) { loc0 = this . upper ; } else if ( arg0 < this . lower ) { loc0 = this . lower ; } } return loc0 ; }
returns the value within the range that is closest to the specified value . concode_field_sep long serialVersionUID concode_elem_sep double lower concode_elem_sep double upper concode_field_sep Range expandToInclude concode_elem_sep boolean intersects concode_elem_sep boolean intersects concode_elem_sep double max concode_elem_sep Range shift concode_elem_sep Range shift concode_elem_sep Range combineIgnoringNaN concode_elem_sep Range scale concode_elem_sep double getUpperBound concode_elem_sep double shiftWithNoZeroCrossing concode_elem_sep boolean isNaNRange concode_elem_sep boolean contains concode_elem_sep Range expand concode_elem_sep double min concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep double getLength concode_elem_sep double getCentralValue concode_elem_sep String toString concode_elem_sep double getLowerBound concode_elem_sep Range combine