IterableGroupBy<E> extension

on

Methods

groupBy<K>(K keySelector(E element)) Map<K, List<E>>
Groups elements of the original collection by the key returned by the given keySelector function applied to each element and returns a map.