question: tries to find a file with one of a number of possible names in a search path . concode_field_sep Function<Path,Boolean> IS_REGULAR_FILE concode_elem_sep Function<Path,Boolean> EXISTS concode_elem_sep Function<Path,Boolean> IS_EXECUTABLE concode_field_sep Boolean apply concode_elem_sep Boolean apply concode_elem_sep Boolean apply concode_elem_sep ImmutableSet<String> combine
target: Optional < Path > function ( Set < String > arg0 , Iterable < Path > arg1 , Function < Path , Boolean > arg2 ) { for ( Path loc0 : arg1 ) { for ( String loc1 : arg0 ) { Path loc2 = loc0 . resolve ( loc1 ) ; if ( arg2 . apply ( loc2 ) ) { return Optional . of ( loc2 ) ; } } } return Optional . absent ( ) ; }