src/main/java/seedu/address/ui/autocompleter/Autocompleter.java
public void updateAutocompleter(String commandBoxText) {
        requireNonNull(commandBoxText);
        textInCommandBox = commandBoxText;
        updateState(commandBoxText);
        logger.info("Current state of the autocompleter is now " + state.toString());
        logger.info("Current command recognized by the autocompleter is now " + currentCommand.toString());
    }
/**
     * Main entry point to the autocompleter package, updates textInCommandBox and calls {@code updateState}
     * to update the state of the autocompleter
     *
     * @param commandBoxText the current text inside the {@code CommandBox}
     */
Main entry point to the autocompleter package, updates textInCommandBox and calls  updateState
to update the state of the autocompleter

@param commandBoxText the current text inside the  CommandBox
Main entry point to the autocompleter package updates textInCommandBox and calls updateState to update the state of the autocompleter @param commandBoxText the current text inside the CommandBox
public void updateAutocompleter(String commandBoxText) {
        requireNonNull(commandBoxText);
        textInCommandBox = commandBoxText;
        updateState(commandBoxText);
        logger.info("Current state of the autocompleter is now " + state.toString());
        logger.info("Current command recognized by the autocompleter is now " + currentCommand.toString());
    }
public void updateAutocompleter ( String commandBoxText ) { requireNonNull ( commandBoxText ) ; textInCommandBox = commandBoxText ; updateState ( commandBoxText ) ; logger . info ( "Current state of the autocompleter is now " + state . toString ( ) ) ; logger . info ( "Current command recognized by the autocompleter is now " + currentCommand . toString ( ) ) ; }
Main entry point to the autocompleter package, updates textInCommandBox and calls {@code updateState}
 to update the state of the autocompleter
Main entry point to the autocompleter package updates textInCommandBox and calls { @code updateState } to update the state of the autocompleter