ConcurrentHashMap + readValueUnderLock

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ConcurrentHashMap + readValueUnderLock

Kasper Nielsen-2
Hi,

Im trying to customize ConcurrentHashMap for my own needs. And I have a
problem understanding why ValueIterator and HashIterator does not need
to check for null values (as get does). And possible resort to
readValueUnderLock when they return an entry/value?

Cheers
   Kasper
_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest