kotlin.collections.Map.getOrDefault

getOrDefault

open fun getOrDefault(
    key: K, 
    defaultValue: @UnsafeVariance V
): V

Platform and version requirements: Kotlin 1.1

Returns the value corresponding to the given key, or 登录查看完整内容