public boolean equals(Object obj){
  if (obj instanceof ActivationID) {
    ActivationID id=(ActivationID)obj;
    return (uid.equals(id.uid) && activator.equals(id.activator));
  }
 else {
    return false;
  }
}

public boolean equals ( Object obj ) { if ( obj instanceof ActivationID ) { ActivationID id = ( ActivationID ) obj ; return ( uid . equals ( id . uid ) && activator . equals ( id . activator ) ) ; } else { return false ; } }
compares two activation ids for content equality . returns true if both of the following conditions are true : 1 ) the unique identifiers equivalent ( by content ) , and 2 ) the activator specified in each identifier refers to the same remote object .
