double function ( String arg0 , DistanceUnit arg1 , DistanceUnit arg2 ) { Distance loc0 = Distance . parseDistance ( arg0 , arg1 ) ; return convert ( loc0 . value , loc0 . unit , arg2 ) ; }
parses a given distance and converts it to the specified unit . 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 convert concode_elem_sep double convert concode_elem_sep Distance convert 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