double function ( double arg0 , DistanceUnit arg1 , DistanceUnit arg2 ) { if ( arg1 == arg2 ) { return arg0 ; } else { return arg0 * arg1 . meters / arg2 . meters ; } }
converts the given distance from the given distanceunit , to the given distanceunit concode_field_sep DistanceUnit unit concode_elem_sep String[] names concode_elem_sep double value concode_elem_sep DistanceUnit DEFAULT concode_elem_sep double meters concode_field_sep double getEarthCircumference concode_elem_sep double toMeters concode_elem_sep double fromMeters concode_elem_sep void writeDistanceUnit concode_elem_sep double getEarthRadius concode_elem_sep DistanceUnit parseUnit concode_elem_sep double parse concode_elem_sep double parse concode_elem_sep int compareTo concode_elem_sep Distance parseDistance concode_elem_sep Distance parseDistance concode_elem_sep DistanceUnit readDistanceUnit concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep DistanceUnit fromString concode_elem_sep double getDistancePerDegree