Scala - Sort efficiently to only get top 10 values

后端 未结 0 1047
独厮守ぢ
独厮守ぢ 2020-12-01 23:10

I have a large Map of customer and say their budget:

val myMap = Map("Leo" -> 100.24, "Tea" -> 210.01, "Bob" -> 1.03, .         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题