You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2019/07/05 15:34:00 UTC

[jira] [Commented] (COLLECTIONS-708) Create CollectionUtils.hashCode using Equator

    [ https://issues.apache.org/jira/browse/COLLECTIONS-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879374#comment-16879374 ] 

Gary Gregory commented on COLLECTIONS-708:
------------------------------------------

Hi [~shadow]

Feel free to provide a PR on GitHub.

Gary

> Create CollectionUtils.hashCode using Equator
> ---------------------------------------------
>
>                 Key: COLLECTIONS-708
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-708
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Collection
>    Affects Versions: 4.2
>            Reporter: Andrei Ivanov
>            Priority: Major
>
> Hello,
>  After discovering {{CollectionUtils#isEqualCollection}} that uses an {{Equator}}, I've started to implement {{Equator}} s for my classes, only to discover that I can't generate hashCodes for the collections that hold these classes using {{Equator#hash}}.
> I hope something like {{CollectionUtils#hashCode(Collection, Equator)}} can be implemented.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)