code: public CharacterComponent getComponent (String className, String compName)
          throws NoSuchComponentException
      {
          // look up the list for that class
          ArrayList<CharacterComponent> comps = _classComps.get(className);
          if (comps != null) {
              // scan the list for the named component
              int ccount = comps.size();
              for (int ii = 0; ii < ccount; ii++) {
                  CharacterComponent comp = comps.get(ii);
                  if (comp.name.equals(compName)) {
                      return comp;
                  }
              }
          }
          throw new NoSuchComponentException(className, compName);
      }
docs: documentation inherited