Packages

implicit final class TraversableOnceOps[A, M[X] <: TraversableOnce[X]] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TraversableOnceOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TraversableOnceOps(xs: M[A])

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 distinctBy[B](f: (A) ⇒ B)(implicit cbf: CanBuildFrom[M[A], A, M[A]]): M[A]

    Almost like distinct, but instead of comparing elements itself it compares their projections, returned by a given function f.

    Almost like distinct, but instead of comparing elements itself it compares their projections, returned by a given function f.

    It's logically equivalent to doing stable grouping by f followed by selecting the first value of each key.

    f

    projection function

    cbf

    collection builder factory

    returns

    a new sequence of elements which projection (obtained by applying the function f) are the first occurrence of every other elements' projection of this sequence.

  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. def toString(): String
    Definition Classes
    Any
  9. val xs: M[A]

Inherited from AnyVal

Inherited from Any

Ungrouped