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

Change Bag interface and implementations to conform to Collection interface

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-alpha1, 4.0
    • None
    • 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. BagAdapter.java
          6 kB
          Thomas Neidhart
        2. COLLECTIONS-468.patch
          21 kB
          Thomas Neidhart
        3. Multiset.java
          7 kB
          Thomas Neidhart

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment