nak.util.CollectionUtil

Enriched_groupByKey_Traversable

implicit final class Enriched_groupByKey_Traversable[K, V, Repr] extends AnyVal

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Enriched_groupByKey_Traversable
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Enriched_groupByKey_Traversable(self: TraversableLike[(K, V), Repr])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  6. def groupByKey[That](implicit bf: CanBuildFrom[Repr, V, That]): Map[K, That]

    For a collection of pairs (k,v), create a map from each k to the collection of vs with which it is associated.

    For a collection of pairs (k,v), create a map from each k to the collection of vs with which it is associated.

    Equivalent to self.groupBy(_._1).map { case (k, elems) => (k, elems.map(_._2)) }

    returns

    Map from ks to collections of vs

  7. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  8. val self: TraversableLike[(K, V), Repr]

  9. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped