groupBy

oxygen.core.syntax.groupBy
object groupBy

Attributes

Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
groupBy.type

Members list

Extensions

Extensions

extension [F[_], A](self: IterableOps[A, F, F[A]])
def groupByNE[B](key: A => B)(implicit nonEmpty: NonEmpty[F]): Map[B, nonEmpty.G[A]]
def groupMapNE[B, C](key: A => B)(value: A => C)(implicit nonEmpty: NonEmpty[F]): Map[B, nonEmpty.G[C]]