computeIfAbsent

fun computeIfAbsent(key: Key, block: () -> Value): Value

Perform concurrent get and compute block if no associated value found in the map and insert the new value.

Return an existing value or the result of block