An iterator that groups elements by a key.

Constructor

new(it:Iterator<T>, keySel:T ‑> K)

Methods

hasNext():Bool

next():Grouping<K, T>