public void removeTable(Table table){
  if (table != null) {
    tables.remove(table);
  }
}

public void removeTable ( Table table ) { if ( table != null ) { tables . remove ( table ) ; } }
removes the given table .
