Class

org.cvogt.scala.collection

TraversableLikeExtensions

Related Doc: package collection

Permalink

implicit final class TraversableLikeExtensions[A, Repr] extends AnyVal

Source
collection.scala
Linear Supertypes
AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TraversableLikeExtensions
  2. AnyVal
  3. Any
Implicitly
  1. by AnyExtensions
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TraversableLikeExtensions(coll: TraversableLike[A, Repr])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to any2stringadd[TraversableLikeExtensions[A, Repr]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (TraversableLikeExtensions[A, Repr], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to ArrowAssoc[TraversableLikeExtensions[A, Repr]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val coll: TraversableLike[A, Repr]

    Permalink
  8. def distinctBy[B, That](toKey: (A) ⇒ B)(implicit bf: CanBuildFrom[Repr, A, That]): That

    Permalink

    Eliminates duplicates based on the given key function.

    Eliminates duplicates based on the given key function. There is no guarantee which elements stay in case element two elements result in the same key.

    toKey

    maps elements to a key, which is used for comparison

  9. def distinctWith[That](equivalent: (A, A) ⇒ Boolean)(implicit bf: CanBuildFrom[Repr, A, That]): That

    Permalink

    Eliminates duplicates based on the given equivalence function.

    Eliminates duplicates based on the given equivalence function. There is no guarantee which elements stay in case element two elements are considered equivalent. this has runtime O(n^2)

  10. def ensuring(cond: (TraversableLikeExtensions[A, Repr]) ⇒ Boolean, msg: ⇒ Any): TraversableLikeExtensions[A, Repr]

    Permalink
    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to Ensuring[TraversableLikeExtensions[A, Repr]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (TraversableLikeExtensions[A, Repr]) ⇒ Boolean): TraversableLikeExtensions[A, Repr]

    Permalink
    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to Ensuring[TraversableLikeExtensions[A, Repr]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): TraversableLikeExtensions[A, Repr]

    Permalink
    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to Ensuring[TraversableLikeExtensions[A, Repr]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): TraversableLikeExtensions[A, Repr]

    Permalink
    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to Ensuring[TraversableLikeExtensions[A, Repr]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to StringFormat[TraversableLikeExtensions[A, Repr]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  16. def groupWith[That](equivalent: (A, A) ⇒ Boolean)(implicit bf: CanBuildFrom[Repr, A, That]): Seq[That]

    Permalink

    Groups elements given an equivalence function.

  17. def in(set: Set[TraversableLikeExtensions[A, Repr]]): Boolean

    Permalink

    Tests whether the given set contains this value as an element

    Tests whether the given set contains this value as an element

    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to AnyExtensions[TraversableLikeExtensions[A, Repr]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  18. def in(seq: Seq[TraversableLikeExtensions[A, Repr]]): Boolean

    Permalink

    Tests whether the given sequence contains this value as an element

    Tests whether the given sequence contains this value as an element

    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to AnyExtensions[TraversableLikeExtensions[A, Repr]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def notIn(set: Set[TraversableLikeExtensions[A, Repr]]): Boolean

    Permalink

    Tests whether the given set does NOT contains this value as an element

    Tests whether the given set does NOT contains this value as an element

    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to AnyExtensions[TraversableLikeExtensions[A, Repr]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  21. def notIn(seq: Seq[TraversableLikeExtensions[A, Repr]]): Boolean

    Permalink

    Tests whether the given sequence does NOT contains this value as an element

    Tests whether the given sequence does NOT contains this value as an element

    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to AnyExtensions[TraversableLikeExtensions[A, Repr]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  22. def toString(): String

    Permalink
    Definition Classes
    Any
  23. val value: TraversableLikeExtensions[A, Repr]

    Permalink
    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to AnyExtensions[TraversableLikeExtensions[A, Repr]] performed by method AnyExtensions in org.cvogt.scala.
    Definition Classes
    AnyExtensions
  24. def [B](y: B): (TraversableLikeExtensions[A, Repr], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from TraversableLikeExtensions[A, Repr] to ArrowAssoc[TraversableLikeExtensions[A, Repr]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion AnyExtensions from TraversableLikeExtensions[A, Repr] to AnyExtensions[TraversableLikeExtensions[A, Repr]]

Inherited by implicit conversion any2stringadd from TraversableLikeExtensions[A, Repr] to any2stringadd[TraversableLikeExtensions[A, Repr]]

Inherited by implicit conversion StringFormat from TraversableLikeExtensions[A, Repr] to StringFormat[TraversableLikeExtensions[A, Repr]]

Inherited by implicit conversion Ensuring from TraversableLikeExtensions[A, Repr] to Ensuring[TraversableLikeExtensions[A, Repr]]

Inherited by implicit conversion ArrowAssoc from TraversableLikeExtensions[A, Repr] to ArrowAssoc[TraversableLikeExtensions[A, Repr]]

Ungrouped