Class

sigma.util.CollectionUtil

TraversableOps

Related Doc: package CollectionUtil

Permalink

implicit final class TraversableOps[A, Source[X] <: GenIterable[X]] extends AnyVal

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

Instance Constructors

  1. new TraversableOps(xs: Source[A])

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def cast[B](implicit arg0: ClassTag[B]): Source[B]

    Permalink

    Traverses the xs collection and checks that each item is of type B.

    Traverses the xs collection and checks that each item is of type B.

    returns

    original collection xs casted to Source[B]

    Exceptions thrown

    java.lang.AssertionError if at least one item cannot be cast to B

  6. def distinctBy[K](key: (A) ⇒ K)(implicit cbf: BuildFrom[Source[A], A, Source[A]]): Source[A]

    Permalink

    This methods is for compatibility with Scala 2.11.

  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def sameElementsNested[B >: A](that: GenIterable[B]): Boolean

    Permalink

    Determines if two nested structures have the same elements in the same order.

    Determines if two nested structures have the same elements in the same order. Supports structures containing GenIterable and Array elements.

    B

    the type of the elements in the other structure, a supertype of A

    that

    the other nested structure to compare with

    returns

    true if the two nested structures have the same elements in the same order, false otherwise

  10. def toString(): String

    Permalink
    Definition Classes
    Any
  11. def updateMany(items: Seq[(Int, A)])(implicit tA: ClassTag[A]): Seq[A]

    Permalink

    Returns a copy of this collection where elements at items(i)._1 are replaced with items(i)._2 for each i.

  12. val xs: Source[A]

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped