Better way of converting a Map[K, Option[V]] to a Map[K,V]

后端 未结 3 1475
借酒劲吻你
借酒劲吻你 2021-01-01 15:31

I have some code that is producing a Map where the values are Option types, and I really of course want a map containing only the real values.

3条回答
提交回复
热议问题