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

Joe Bowbeer joe.bowbeer at gmail.com
Fri Dec 12 16:35:54 EST 2008


On Fri, Dec 12, 2008 at 1:29 PM, Bob Lee wrote:

> On Fri, Dec 12, 2008 at 1:19 PM, Joe Bowbeer wrote:
>
>> I think ConcurrentReferenceMap is the best solution.  It combines
>> consistency and clarity in their proper proportions.
>>
>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20081212/59a1ec35/attachment-0001.html>


More information about the Concurrency-interest mailing list