Code example for Hashtable

Methods: values

0
	public void addGame(Game game) {
		this.games.put(game.getGameId(), game);
	} 
 
	public Collection<Game> getGames() {
		return games.values();
	} 
 
	public void removeGame(Game game) {
		games.remove(game.getGameId());
	} 
 
	public void sendPacket(PacketBuilder packet) {
		this.ioSession.write(packet.toString());
	} 
 
	public IoSession getSession() { 
		return this.ioSession;
	} 
 
	public boolean isInGame() {