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

Change Bag interface and implementations to conform to Collection interface

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-alpha1, 4.0
    • Component/s: None
    • Labels:
      None

      Description

      Several methods of the Bag interface do not conform to the Collection interface (e.g. add, remove, containsAll, removeAll, retainAll).
      This should be fixed for 4.0.

        Attachments

        1. COLLECTIONS-468.patch
          21 kB
          Thomas Neidhart
        2. BagAdapter.java
          6 kB
          Thomas Neidhart
        3. Multiset.java
          7 kB
          Thomas Neidhart

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: