question: convert a string to a 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 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 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 readFromStream concode_elem_sep void writeTo 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 double getDistancePerDegree
target: DistanceUnit function ( String arg0 ) { for ( DistanceUnit loc0 : values ( ) ) { for ( String loc1 : loc0 . names ) { if ( loc1 . equals ( arg0 ) ) { return loc0 ; } } } throw new IllegalArgumentException ( "srini_string" + arg0 + "srini_string" ) ; }