public int hashCode(){
  if (myhash == -1) {
    myhash=37 + oid.hashCode();
    for (int i=0; i < nameValue.length; i++) {
      myhash=37 * myhash + nameValue[i];
    }
  }
  return myhash;
}

public int hashCode ( ) { if ( myhash == - 1 ) { myhash = 37 + oid . hashCode ( ) ; for ( int i = 0 ; i < nameValue . length ; i ++ ) { myhash = 37 * myhash + nameValue [ i ] ; } } return myhash ; }
returns the hash code for this othername .
