GroupingBy<T> extension

on
  • Iterable<T>

Methods

groupingBy<K>(K keySelector(T value)) Grouping<T, K>

Available on Iterable<T>, provided by the GroupingBy extension

Group elements by a key.