[concurrency-interest] CHM#replace(key, null, newValue)
Dhanji R. Prasanna
dhanji at gmail.com
Wed Apr 2 08:12:26 EDT 2008
On Tue, Apr 1, 2008 at 8:44 PM, Peter Veentjer <alarmnummer at gmail.com>
> It is a shame that the value to be placed in the hashmap can't be
> created lazy.
You could use a Future<T>. I think there was a thread some time ago
discussing this (about a CHM.putIfAbsent(Callable)). The Future<T> was
crazybob's idea on that thread.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest