[
https://issues.apache.org/jira/browse/COLLECTIONS-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Neidhart updated COLLECTIONS-468:
----------------------------------------
Attachment: BagAdapter.java
Attached a working example of a BagAdapter which provides an adapter of the Bag
interface to the newly proposed Multiset interface.
The Multiset interface is identical to the Bag interface with the difference
that it conforms to the Collection super-interface.
> Change Bag interface and implementations to conform to Collection interface
> ---------------------------------------------------------------------------
>
> Key: COLLECTIONS-468
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-468
> Project: Commons Collections
> Issue Type: Bug
> Reporter: Thomas Neidhart
> Fix For: 4.0
>
> Attachments: BagAdapter.java, COLLECTIONS-468.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira