public boolean equals(Object object){
  if (object == null || !(object instanceof SessionID)) {
    return false;
  }
  SessionID another=(SessionID)object;
  return encryptedString.equals(another.encryptedString);
}

public boolean equals ( Object object ) { if ( object == null || ! ( object instanceof SessionID ) ) { return false ; } SessionID another = ( SessionID ) object ; return encryptedString . equals ( another . encryptedString ) ; }
compares this session id to the specified object . the result is true if and only if the argument is not null and the random string and server name are the same in both objects .
