Range function ( Range arg0 , Range arg1 ) { if ( arg0 == null ) { return arg1 ; } if ( arg1 == null ) { return arg0 ; } double loc0 = Math . min ( arg0 . getLowerBound ( ) , arg1 . getLowerBound ( ) ) ; double loc1 = Math . max ( arg0 . getUpperBound ( ) , arg1 . getUpperBound ( ) ) ; return new Range ( loc0 , loc1 ) ; }
creates a new range by combining two existing ranges . note that : either range can be null , in which case the other range is returned ; if both ranges are null the return value is null . 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 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