[concurrency-interest] Javadoc for ConcurrentSkipListMap.computeIfAbsent()
leventov.ru at gmail.com
Sun Feb 23 23:54:47 EST 2020
It says: "The function is NOT guaranteed to be applied once atomically only
if the value is not present."
It's hard to parse this sentence, and it seems to me to make little
sense since when the value is present, the function is not applied at all.
IMO it would be better to remove the last part "only if the value is not
present", making it equal to the corresponding sentence in compute() and
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest