blob: afcf6e7f64e8504605e6cb3581dc887fa475dd58 [file]
fun valuesNotNull(map: MutableMap<Int, String>) {
map.<caret>replace(1, "x")
map.<caret>replace(1, "x", "y")
map.<caret>replaceAll { k, v -> "$k to ${v.length}" }
}
fun valuesNullable(map: MutableMap<Int, String?>) {
map.<caret>replace(1, null)
map.<caret>replace(1, null, "x")
map.<caret>replaceAll { k, v -> "$k to $v" }
}