kotlin.collections.eachCountTo
eachCountTo
fun <T, K, M : MutableMap<in K, Int>> Grouping<T, K>.eachCountTo( destination: M ): M
Platform and version requirements: Kotlin 1.1
Groups elements from the Grouping source by key and counts elements in each group to the given destination map.
If the 登录查看完整内容