public int hashCode(){
  int hash=0;
  for (int i=0; i < rdns.size(); i++) {
    Rdn rdn=rdns.get(i);
    hash+=rdn.hashCode();
  }
  return hash;
}

public int hashCode ( ) { int hash = 0 ; for ( int i = 0 ; i < rdns . size ( ) ; i ++ ) { Rdn rdn = rdns . get ( i ) ; hash += rdn . hashCode ( ) ; } return hash ; }
computes the hash code of this ldap name . the hash code is the sum of the hash codes of individual rdns of this name .
