computeIfAbsent

fun computeIfAbsent(key: K, producer: (key: K) -> V): V

See also

MutableMap.computeIfAbsent