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

Add a MultiSet interface / implementations that do not violate the Collection contract

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: None
    • Labels:
      None

      Description

      Prior to the release of 4.0 there was a discussion about to change the Bag interface to make it compliant with the Collection contract.

      The outcome was that the Bag interface should be kept as is to simplify migration of older code-bases.

      Now, it would make sense to add a MultiSet interface that is basically similar to a Bag, but does comply to the Collection contract. The old Bag could then be deprecated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tn Thomas Neidhart
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: