[concurrency-interest] RFC -- Java7 java.util.concurrent plans

Bob Lee crazybob at crazybob.org
Fri Dec 12 16:46:53 EST 2008


On Fri, Dec 12, 2008 at 1:35 PM, Joe Bowbeer <joe.bowbeer at gmail.com> wrote:

> As for consistency, only 33% of the collection types in the util.concurrent
>> package start with "Concurrent". As a rule, I think a type should start with
>> "Concurrent" if it conflicts with a type of the same name in a different
>> package (like HashMap and ConcurrentHashMap), but that isn't the case here.
>>
>
> ConcurrentHashMap and ConcurrentReferenceMap both implement ConcurrentMap.


We had to prefix CHM with "Concurrent" because of HashMap, not because the
interface name starts with "Concurrent".

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20081212/e4406e42/attachment.html>


More information about the Concurrency-interest mailing list