code: public void addName(String name)
     {
        if (names.contains(name))
        {
           throw new IllegalArgumentException("already contains: " + name);
        }
        indexes.add(name);
        names.add(name);
        dirty = true;
     }
docs: Adds a name to the index infos.
  @param name the name to add.