public class MapAccess
extends java.lang.Object
| Constructor and Description |
|---|
MapAccess() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V,W extends V> |
computeIfAbsent(java.util.concurrent.ConcurrentMap<K,V> map,
K k,
java.util.function.Function<? super K,? extends W> f)
Convenience method for
ConcurrentMap.computeIfAbsent(Object, Function) that casts the result
to the intended subtype. |
public static <K,V,W extends V> W computeIfAbsent(java.util.concurrent.ConcurrentMap<K,V> map,
K k,
java.util.function.Function<? super K,? extends W> f)
ConcurrentMap.computeIfAbsent(Object, Function) that casts the result
to the intended subtype.