public AutoComplete autoCompleteEntry ( String prefix ) { final AutoComplete directoryAutoComplete = autoCompleteDirectory ( prefix ) ; final AutoComplete commandAutoComplete = autoCompleteCommand ( prefix ) ; return directoryAutoComplete . union ( commandAutoComplete ) ; }
Auto complete the given prefix with child directory or command possibilities .