GroupBy<V> extension

on

Methods

groupBy<K>(Func1<V, K> getKey) Map<K, List<V>>
Splits an iterable into sub-lists stored in a map, based on result of calling getKey function on each element of this, and grouping the results according to values returned.