#242 Add an explicit hashCode method to object.

v3.2.0
closed
Rick McGuire
Classes (154)
5
2012-08-14
2007-09-26
Rick McGuire
No

It would be nice to decouple the two different functions that the "==" method is supposed to supply by having a "hashCode" method that can be overridden rather than implement the hashcode in "==".

Discussion

  • Rick McGuire
    Rick McGuire
    2007-09-26

    Logged In: YES
    user_id=1125291
    Originator: YES

    Since the entire Map collection mechanism that was supposed to be using the "==" method has been completely broken for many years, I've removed the "==" usage for hash codes and added a HASHCODE method as it's replacement. This should be simpler to implement and explain now.

    Code changes Committed revision 812.

     
  • Rick McGuire
    Rick McGuire
    2007-09-26

    Logged In: YES
    user_id=1125291
    Originator: YES

    Committed revision 813. Doc update.

     


Anonymous


Cancel   Add attachments