[Java] Class InputHandler.delete_word