computeIfAbsent

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

See Also

MutableMap.computeIfAbsent