final ArrayList<TupleTableInfoTraining> tables = new ArrayList<TupleTableInfoTraining>();
final ArrayList<Integer> tablesToRemove = new ArrayList<Integer>();
for (final Integer noPort : m_games.keySet())
{
final PokerGame game = m_games.get(noPort);
// Check if the table is still running.
if (game.isRunning())
{
final TableInfo table = game.getTable();
if (table.getClass().equals(TableInfoTraining.class))
{
tables.add(new TupleTableInfoTraining(noPort, table.getName(), table.getBigBlindAmnt(), table.getPlayers().size(), table.getNbMaxSeats(), table.getBetLimit(), PossibleActionType.None));
}
}