com.daodecode.scalax.collection.extensions

GenIterableLikeExtension

implicit final class GenIterableLikeExtension[+A, +Repr <: GenIterableLike[A, Repr]] extends AnyVal

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenIterableLikeExtension
  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 GenIterableLikeExtension(iterableLike: GenIterableLike[A, 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 foldLeftWhile[B](z: B)(p: (B) ⇒ Boolean)(op: (B, A) ⇒ B): B

    Applies a binary operator to a start value and all elements of this collection while predicate p is satisfied, going left to right.

    Applies a binary operator to a start value and all elements of this collection while predicate p is satisfied, going left to right.

    B

    the result type of the binary operator.

    z

    the start value.

    p

    the predicate used to test if folding should continue.

    op

    the binary operator.

    returns

    the result of inserting op between consecutive elements of this collection, going left to right with the start value z on the left.

    Since

    0.1.0

  6. def foldRightWhile[B](z: B)(p: (B) ⇒ Boolean)(op: (A, B) ⇒ B): B

    Applies a binary operator to all elements of this collection and a start value while predicate p is satisfied, going right to left.

    Applies a binary operator to all elements of this collection and a start value while predicate p is satisfied, going right to left.

    B

    the result type of the binary operator.

    z

    the start value.

    p

    the predicate used to test if folding should continue.

    op

    the binary operator.

    returns

    the result of inserting op between consecutive elements of this collection, going right to left with the start value z on the right.

    Since

    0.1.0

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

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

    Definition Classes
    Any
  9. val iterableLike: GenIterableLike[A, Repr]

  10. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped