Get rid of platform differences in Grouping<T, K>.eachCount() doc
This commit is contained in:
committed by
Space
parent
91d1baf3b5
commit
53b6c25533
@@ -7,7 +7,9 @@ package kotlin.collections
|
|||||||
/**
|
/**
|
||||||
* Groups elements from the [Grouping] source by key and counts elements in each group.
|
* Groups elements from the [Grouping] source by key and counts elements in each group.
|
||||||
*
|
*
|
||||||
* @return a [Map] associating the key of each group with the count of element in the group.
|
* @return a [Map] associating the key of each group with the count of elements in the group.
|
||||||
|
*
|
||||||
|
* @sample samples.collections.Grouping.groupingByEachCount
|
||||||
*/
|
*/
|
||||||
@SinceKotlin("1.1")
|
@SinceKotlin("1.1")
|
||||||
public actual fun <T, K> Grouping<T, K>.eachCount(): Map<K, Int> =
|
public actual fun <T, K> Grouping<T, K>.eachCount(): Map<K, Int> =
|
||||||
|
|||||||
Reference in New Issue
Block a user