📅  最后修改于: 2022-03-11 14:53:32.182000             🧑  作者: Mango
val studentsMap = mapOf(1 to "Asha", 2 to "John", 3 to "Afra", 4 to "Kyle")
val filteredMap = studentsMap.filterNot { (_, value): Map.Entry -> value.startsWith("K")}