Hi Richard,
Actors usually don't have equals() and hashCode() methods.
However, if you define a custom token, like
actor.lib.security.KeyToken, then the custom token should
have equals() and hashCode() methods.

_Christopher

Richard Ware wrote:
  Can you guys remind me whether there's any architectural
reason to avoid overriding equals() (and hashCode() ) when
writing an actor in Java?  Thanks!

     Rich Ware
     MOCASystems


--
Christopher Brooks (cxh at eecs berkeley edu) University of California
Chess Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst Chess/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax: 510.642.2718            (office: 545Q Cory)
home: (F-Tu) 707.665.0131 (W-F) 510.655.5480


----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to