Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-708

Create CollectionUtils.hashCode using Equator

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.5
    • Component/s: Collection
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kinow Bruno P. Kinoshita
                Reporter:
                shadow Andrei Ivanov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m