Add groupingBy and eachCount sample.

This commit is contained in:
Ilya Gorbunov
2017-02-28 22:01:27 +03:00
parent 75ae42121b
commit a04e6de047
15 changed files with 42 additions and 0 deletions
@@ -402,6 +402,8 @@ fun mapping(): List<GenericFunction> {
"""
Creates a [Grouping] source from ${f.collection.prefixWithArticle()} to be used later with one of group-and-fold operations
using the specified [keySelector] function to extract a key from each ${f.element}.
@sample samples.collections.Collections.Transformations.groupingByEachCount
"""
}