public Name add(int posn,Rdn comp){
  if (comp == null) {
    throw new NullPointerException("Cannot set comp to null");
  }
  rdns.add(posn,comp);
  unparsed=null;
  return this;
}

public Name add ( int posn , Rdn comp ) { if ( comp == null ) { throw new NullPointerException ( "Cannot set comp to null" ) ; } rdns . add ( posn , comp ) ; unparsed = null ; return this ; }
adds a single rdn at a specified position within this ldap name . rdns of this ldap name at or after the index ( if any ) of the new rdn are shifted up by one ( away from index 0 ) to accommodate the new rdn .
