Re: [collections] New interface: MultiSet

2015-06-11 Thread Thomas Neidhart
On 06/11/2015 11:18 PM, Matt Benson wrote: > On Thu, Jun 11, 2015 at 3:37 PM, Thomas Neidhart > wrote: >> Hi, >> >> I have just committed the first draft of the new interface MultiSet. >> >> What is the idea behind this? >> >> The rationale of this interface (and corresponding implementations) is

Re: [collections] New interface: MultiSet

2015-06-11 Thread Matt Benson
On Thu, Jun 11, 2015 at 3:37 PM, Thomas Neidhart wrote: > Hi, > > I have just committed the first draft of the new interface MultiSet. > > What is the idea behind this? > > The rationale of this interface (and corresponding implementations) is > to replace the existing Bag interface, which does vi

[collections] New interface: MultiSet

2015-06-11 Thread Thomas Neidhart
Hi, I have just committed the first draft of the new interface MultiSet. What is the idea behind this? The rationale of this interface (and corresponding implementations) is to replace the existing Bag interface, which does violate the Collection contract. Actually, I wanted to make the Bag inte