[concurrency-interest] Map<K,V> Collections.concurrentMap(Map<K,V>)

Dmitry Kiriy dmitry.kiriy@db.com
Wed, 11 Feb 2004 14:48:43 +0300

Dear Sirs.

Just quickly evaluate the code of ConcurrentHashMap in JSK 1.5b1.
May be I miss something, but I realise that it pretty easy
(well, not SO easy but possible)
        Map Collections.concurrentMap(Map map)
as wrapper. 

Because it will obviously need ConcurrentTreeMap and it just ugly to
write the lock/ unlock  and duplication the code of TreeMap too.


Dmitriy Kiriy

Derivatives IT Dept.
Global Markets,
Deutsche Bank Moscow

Ph.: +7 095 7830367
Ph. local: 1367