code: public static int maxIdIn(SymbolTable table) {
      int max = 0;
      for (ObjectIntCursor<String> cursor : table) {
        max = Math.max(max, cursor.value);
      }
      return max;
    }
docs: Returns the current max id mapped in this symbol table or 0 if this has no mappings
  @param table
  @return