docs: public IndexDef getIndex(String name)
      {
          String   realName = (name == null ? "" : name);
          IndexDef def      = null;
  
          for (Iterator it = getIndices(); it.hasNext();)
          {
              def = (IndexDef)it.next();
              if (def.getName().equals(realName))
              {
                  return def;
              }
          }
          return null;
      }