locates the best match for the given pattern in the given set of candidate items . concode_field_sep SortedSet<String> matches concode_elem_sep String pattern concode_elem_sep Set<String> candidates concode_field_sep String formatErrorMessage concode_elem_sep Set<String> getMatches concode_elem_sep Set<String> getCandidates concode_elem_sep Pattern getPatternForName
T function ( String arg0 , Map < String , ? extends T > arg1 ) { String loc0 = find ( arg0 , arg1 . keySet ( ) ) ; if ( loc0 != null ) { return arg1 . get ( loc0 ) ; } return null ; }