Re: [COLLECTIONS] Bag vs. MultiSet

Gary Gregory <[email protected]> Sat, 4 Jul 2026 14:02:52 -0400
Newsgroups gmane.comp.jakarta.commons.devel
Message-ID <CACZkXPwwLjJQk+pSAQ0zroTwEsAK=1TzYZ=F=RXAxZ1f5S3-=Q@mail.gmail.com>
On Sat, Jul 4, 2026 at 9:36=E2=80=AFAM Elliotte Rusty Harold <elharo@ibibli=
o.org> wrote:
>
> There's no good reason I can see to have both. Multiset and bag are
> different names for the same thing.
>
> Now if you're asking why this mistake was made in the first place, I
> can speculate and the commit history might have some clues.

The first commit for both interfaces is from Thomas Neidhart so maybe
he can clarify.

Gary

>
> On Thu, Jul 2, 2026 at 9:42=E2=80=AFPM Gary Gregory <[email protected]=
om> wrote:
> >
> > Hi All,
> >
> > Why do we have both Bag and MultiSet? They seem to do the same thing.
> >
> > Gary
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>
>
> --
> Elliotte Rusty Harold
> [email protected]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>