double function ( double arg0 , double arg1 ) { if ( arg0 > 0.0 ) { return Math . max ( arg0 + arg1 , 0.0 ) ; } else if ( arg0 < 0.0 ) { return Math . min ( arg0 + arg1 , 0.0 ) ; } else { return arg0 + arg1 ; } }
returns the given value adjusted by delta but with a check to prevent the result from crossing 0.0 . 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 constrain 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