[Java] Class InputHandler.end