code: private void compress()
    {
      counter = 1;
      for (Iterator e = values().iterator(); e.hasNext(); ) 
      {
        Selector s = (Selector) e.next();
        s.setUniqueId(counter++);
      }
    }
docs: Compress the uniqueId assignments for Selectors currently in the intern table