You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2010/02/01 08:23:51 UTC

[jira] Updated: (LANG-411) HashCodeBuilder: expose typed hashing methods

     [ https://issues.apache.org/jira/browse/LANG-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated LANG-411:
-------------------------------

    Fix Version/s:     (was: 3.0)
                   3.1

Moving to 3.1 as I don't see this as either a) a big enhancement or b) a backwards incompatible enhancement.

> HashCodeBuilder: expose typed hashing methods
> ---------------------------------------------
>
>                 Key: LANG-411
>                 URL: https://issues.apache.org/jira/browse/LANG-411
>             Project: Commons Lang
>          Issue Type: Wish
>          Components: lang.builder.*
>    Affects Versions: 2.3
>            Reporter: Paul Benedict
>            Priority: Minor
>             Fix For: 3.1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.