Designing hashCode() methods

Discussion in 'Java' started by kelvSYC, Dec 23, 2003.

  1. kelvSYC

    kelvSYC Guest

    Can anyone give me a good reference to where I would find a good
    resource on designing hashCode() functions?

    --
    I am only a mirage.
    kelvSYC, Dec 23, 2003
    #1
    1. Advertising

  2. kelvSYC

    Ulrich Stern Guest

    kelvSYC <> wrote in message news:<231220031555219159%>...
    > 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*
    Ulrich Stern, Dec 24, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roedy Green

    hashCode for byte[]

    Roedy Green, Aug 22, 2003, in forum: Java
    Replies:
    1
    Views:
    413
    Dale King
    Aug 22, 2003
  2. Marco
    Replies:
    10
    Views:
    755
  3. Felix T.
    Replies:
    1
    Views:
    244
    Arnaud Delobelle
    Nov 19, 2008
  4. Timothy Hunter
    Replies:
    0
    Views:
    134
    Timothy Hunter
    Dec 30, 2006
  5. Kenneth McDonald
    Replies:
    5
    Views:
    299
    Kenneth McDonald
    Sep 26, 2008
Loading...

Share This Page