code: public LdapRdnComponent getComponent(int idx) {
          if(idx >= components.size()) {
              throw new IndexOutOfBoundsException();
          }
  
  		return (LdapRdnComponent) new ArrayList(components.values()).get(idx);
  	}
docs: Get the LdapRdnComponent at index <code>idx</code>.
  
  @param idx the 0-based index of the component to get.
  @return the LdapRdnComponent at index <code>idx</code>.
  @throws IndexOutOfBoundsException if there are no components in this Rdn.