You might also want to check out the work by the apache software foundation; specifically, their Jakarta commons product, the commons-lang module. Commons-lang has a number of classes -- builders -- to assist in building properly formatted equals, hashCode, and toString() methods.
Keith -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Morris Sent: Wednesday, August 04, 2004 1:32 PM To: [EMAIL PROTECTED] Subject: RE: JESS: Implementing equals() and hashCode() Small world -- the javapractices link cross references the same book that Ernest mentions on the subject: ------------------------- Implementing hashCode() "...The following utility class allows simple construction of an effective hashCode method. It is based on the recommendations of Effective Java, by Joshua Bloch..." ------------------------- The actual book is: Effective Java Programming Language Guide Joshua Bloch Average Customer Review: 5 / 5 Based on 93 reviews Publisher: Addison-Wesley Pub Co; 1st edition (June 5, 2001) ISBN: 0201310058 Cheers, -Jason ------------------------ Jason Morris Morris Technical Solutions [EMAIL PROTECTED] www.morristechnicalsolutions.com fax/phone: 503.692.1088 -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] -------------------------------------------------------------------- -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------