compute If Absent
inline fun <K, E> MutableMap<K, E>.computeIfAbsent(key: K, initializer: () -> E): E
Content copied to clipboard
Retrieves the element corresponding to key from this map if it already exists or creates it by calling initializer and saving the result to the map