getOrDefault
Returns the value corresponding to the given key, or defaultValue if such a key is not present in the map.
Since JDK 1.8
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Returns the value corresponding to the given key, or defaultValue if such a key is not present in the map.
Since JDK 1.8