Bag/MultiSet [wasRe: Loose-ends wrapup]
Doug Lea
dl at cs.oswego.edu
Sat May 11 04:12:36 PDT 2013
On 05/11/13 06:42, Stephen Colebourne wrote:
> ConcurrentHashBag discussion from lambda-spec list.
>
> Just to add to Kevin's comments. I would consider a "Bag" to be an
> interface defined as per Guava or Commons Collections:
I appreciate that you have to be careful when naming new components
in long-established languages/libraries. "ConcurrentBag"
is fairly commonly used outside of Java to indicate
a minimal concurrent collection that supports only add, remove,
contains, and traverse. See for example Net's version.
Still, the unanticipated reaction to the name is good enough
grounds to choose another.
-Doug
More information about the lambda-dev
mailing list