Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Designing hashCode() methods

Reply
Thread Tools

Designing hashCode() methods

 
 
kelvSYC
Guest
Posts: n/a
 
      12-23-2003
Can anyone give me a good reference to where I would find a good
resource on designing hashCode() functions?

--
I am only a mirage.
 
Reply With Quote
 
 
 
 
Ulrich Stern
Guest
Posts: n/a
 
      12-24-2003
kelvSYC <(E-Mail Removed)> wrote in message news:<231220031555219159%(E-Mail Removed)> ...
> Can anyone give me a good reference to where I would find a good
> resource on designing hashCode() functions?


The recipe in Item 8 of Bloch's "Effective Java" should be good enough
for most cases.

U*
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Designing superclasses so inherited methods return objects with sametype as the instance. Felix T. Python 1 11-19-2008 10:05 PM
Is there a way to find the class methods of a class, just like'methods' finds the instance methods? Kenneth McDonald Ruby 5 09-26-2008 03:09 PM
Need help designing a pair of RMagick methods Timothy Hunter Ruby 0 12-30-2006 08:00 PM
Top-Up Methods - Finarea (Voipcheap, internetcalls, etc.) et. al., VOIP Services Question - Top-up Methods News Reader UK VOIP 0 04-10-2006 02:41 PM
Why Petshop Changed all static methods to instance methods when upgrading from version 3.0 to version 3.1? Neo ASP .Net 1 01-07-2005 01:46 AM



Advertisments