basis.sequential

GeneralIndexOps

final class GeneralIndexOps[+A] extends AnyRef

General indexed sequence operations.

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

Instance Constructors

  1. new GeneralIndexOps(these: Index[A])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

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

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  7. def choose[B](q: PartialFunction[A, B]): Option[B]

    Returns the application of a partial function to the first element of this sequence for which the function is defined.

    Returns the application of a partial function to the first element of this sequence for which the function is defined.

    q

    the partial function to test elements against and to apply to the first found element.

    returns

    some found and mapped element, or none if no element applies to q.

    Annotations
    @macroImpl()
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def count(p: (A) ⇒ Boolean): Int

    Returns the number of elements in this sequence that satisfy a predicate.

    Returns the number of elements in this sequence that satisfy a predicate.

    p

    the predicate to test elements against.

    returns

    the number of elements satisfying p.

    Annotations
    @macroImpl()
  10. def eagerly: StrictIndexOps[A, Index[A]]

    Returns a strict operations interface to this sequence.

    Returns a strict operations interface to this sequence.

    Annotations
    @macroImpl()
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def exists(p: (A) ⇒ Boolean): Boolean

    Returns true if a predicate holds for some element of this sequence.

    Returns true if a predicate holds for some element of this sequence.

    p

    the predicate to test elements against.

    returns

    true if any element satisfies p, otherwise false.

    Annotations
    @macroImpl()
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def find(p: (A) ⇒ Boolean): Option[A]

    Returns the first element of this sequence that satisfies a predicate.

    Returns the first element of this sequence that satisfies a predicate.

    p

    the predicate to test elements against.

    returns

    some found element, or none if no element satisfies p.

    Annotations
    @macroImpl()
  16. def fold[B >: A](z: B)(op: (B, B) ⇒ B): B

    Returns the repeated application of an associative binary operator between an identity value and all elements of this sequence.

    Returns the repeated application of an associative binary operator between an identity value and all elements of this sequence.

    z

    the operator's identity element.

    op

    the associative binary operator to apply.

    returns

    the folded value.

    Annotations
    @macroImpl()
  17. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B

    Returns the left-to-right application of a binary operator between a start value and all elements of this sequence.

    Returns the left-to-right application of a binary operator between a start value and all elements of this sequence.

    z

    the starting value.

    op

    the binary operator to apply right-recursively.

    returns

    the folded value.

    Annotations
    @macroImpl()
  18. def foldRight[B](z: B)(op: (A, B) ⇒ B): B

    Returns the right-to-left application of a binary operator between a start value and all elements in this sequence.

    Returns the right-to-left application of a binary operator between a start value and all elements in this sequence.

    z

    the starting value.

    op

    the binary operator to apply left-recursively.

    returns

    the folded value.

    Annotations
    @macroImpl()
  19. def forall(p: (A) ⇒ Boolean): Boolean

    Returns true if a predicate holds for all elements of this sequence.

    Returns true if a predicate holds for all elements of this sequence.

    p

    the predicate to test elements against.

    returns

    true if all elements satisfy p, otherwise false.

    Annotations
    @macroImpl()
  20. def foreach[U](f: (A) ⇒ U): Unit

    Sequentially applies a function to each element of this sequence.

    Sequentially applies a function to each element of this sequence.

    f

    the function to apply to each element.

    Annotations
    @macroImpl()
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def lazily: NonStrictIndexOps[A]

    Returns a non-strict operations interface to this sequence.

    Returns a non-strict operations interface to this sequence.

    Annotations
    @macroImpl()
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def reduce[B >: A](op: (B, B) ⇒ B): B

    Returns the repeated application of an associative binary operator between all elements of this non-empty sequence.

    Returns the repeated application of an associative binary operator between all elements of this non-empty sequence.

    op

    the associative binary operator to apply.

    returns

    the reduced value.

    Annotations
    @macroImpl()
  29. def reduceLeft[B >: A](op: (B, A) ⇒ B): B

    Returns the left-to-right application of a binary operator between all elements of this non-empty sequence.

    Returns the left-to-right application of a binary operator between all elements of this non-empty sequence.

    op

    the binary operator to apply right-recursively.

    returns

    the reduced value.

    Annotations
    @macroImpl()
  30. def reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]

    Returns the left-to-right application of a binary operator between all elements of this sequence.

    Returns the left-to-right application of a binary operator between all elements of this sequence.

    op

    the binary operator to apply right-recursively.

    returns

    some reduced value, or none if this sequence is empty.

    Annotations
    @macroImpl()
  31. def reduceOption[B >: A](op: (B, B) ⇒ B): Option[B]

    Returns the repeated application of an associative binary operator between all elements of this sequence.

    Returns the repeated application of an associative binary operator between all elements of this sequence.

    op

    the associative binary operator to apply.

    returns

    some reduced value, or none if this sequence is empty.

    Annotations
    @macroImpl()
  32. def reduceRight[B >: A](op: (A, B) ⇒ B): B

    Returns the right-to-left application of a binary operator between all elements in this non-empty sequence.

    Returns the right-to-left application of a binary operator between all elements in this non-empty sequence.

    op

    the binary operator to apply left-recursively.

    returns

    the reduced value.

    Annotations
    @macroImpl()
  33. def reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]

    Returns the right-to-left application of a binary operator between all elements in this sequence.

    Returns the right-to-left application of a binary operator between all elements in this sequence.

    op

    the binary operator to apply left-recursively.

    returns

    some reduced value, or none if this sequence is empty.

    Annotations
    @macroImpl()
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Traversing

Reducing

Querying

Transforming

Ungrouped