safeComputeAndMutateSetValue

fun <K, V> <Error class: unknown class><K, MutableSet<V>>.safeComputeAndMutateSetValue(key: K, f: () -> V): MutableSet<V>

Convenience method to compute a {K, Set} map mutating the collection with f() if the key is present.