Details
-
Wish
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.3
-
None
Description
HashCodeBuilder encapsulates the good advice of Joshua Bloch. He details how each java.lang type should be hashed. I want to use those too ... but without reflection. Please expose those as static methods:
hashInt, hashBoolean, etc.
They should take two parameters: the field value, and the hash multiplier value.
Attachments
Attachments
Issue Links
- relates to
-
LANG-627 Include a way to explicitly define a hash constant for each primitive type, along with the functionality described in LANG-411
- Open