basis.sequential

StrictIndexOps

final class StrictIndexOps[+A, +From] extends AnyRef

Strictly evaluated indexed sequence operations.

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

Instance Constructors

  1. new StrictIndexOps(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. def ++[B >: A](those: Enumerator[B])(implicit builder: Builder[From, B]): State

    Returns the concatenation of this and another collection.

    Returns the concatenation of this and another collection.

    those

    the elements to append to these elements.

    builder

    the implicit accumulator for concatenated elements.

    returns

    the accumulated elements of both collections.

    Annotations
    @macroImpl()
  5. final def ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def collect[B](q: PartialFunction[A, B])(implicit builder: Builder[From, B]): State

    Returns the applications of a partial function to each element in this sequence for which the function is defined.

    Returns the applications of a partial function to each element in this sequence for which the function is defined.

    q

    the partial function to filter and transform elements.

    builder

    the implicit accumulator for collected elements.

    returns

    the accumulated elements filtered and transformed by q.

    Annotations
    @macroImpl()
  10. def drop(lower: Int)(implicit builder: Builder[From, A]): State

    Returns all elements in this sequence following a prefix up to some length.

    Returns all elements in this sequence following a prefix up to some length.

    lower

    the length of the prefix to drop; also the inclusive lower bound for indexes of elements to keep.

    builder

    the implicit accumulator for non-dropped elements.

    returns

    all but the first lower accumulated elements.

    Annotations
    @macroImpl()
  11. def dropWhile(p: (A) ⇒ Boolean)(implicit builder: Builder[From, A]): State

    Returns all elements following the longest prefix of this sequence for which each element satisfies a predicate.

    Returns all elements following the longest prefix of this sequence for which each element satisfies a predicate.

    p

    the predicate to test elements against.

    builder

    the implicit accumulator for non-dropped elements.

    returns

    the suffix of accumulated elements beginning with the first element to not satisfy p.

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

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

    Definition Classes
    AnyRef → Any
  14. def filter(p: (A) ⇒ Boolean)(implicit builder: Builder[From, A]): State

    Returns all elements in this sequence that satisfy a predicate.

    Returns all elements in this sequence that satisfy a predicate.

    p

    the predicate to test elements against.

    builder

    the implicit accumulator for filtered elements.

    returns

    the accumulated elements filtered by p.

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def flatMap[B](f: (A) ⇒ Enumerator[B])(implicit builder: Builder[From, B]): State

    Returns the concatenation of all elements returned by a function applied to each element in this sequence.

    Returns the concatenation of all elements returned by a function applied to each element in this sequence.

    f

    the enumerator-yielding function to apply to each element.

    builder

    the implicit accumulator for flattened elements.

    returns

    the concatenation of all accumulated elements produced by f.

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

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

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

    Definition Classes
    Any
  20. def map[B](f: (A) ⇒ B)(implicit builder: Builder[From, B]): State

    Returns the applications of a function to each element in this sequence.

    Returns the applications of a function to each element in this sequence.

    f

    the function to apply to each element.

    builder

    the implicit accumulator for transformed elements.

    returns

    the accumulated elements transformed by f.

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

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

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

    Definition Classes
    AnyRef
  24. def reverse(implicit builder: Builder[From, A]): State

    Returns the reverse of this sequence.

    Returns the reverse of this sequence.

    builder

    the implicit accumulator for reversed elements.

    returns

    the elements in this sequence in reverse order.

    Annotations
    @macroImpl()
  25. def slice(lower: Int, upper: Int)(implicit builder: Builder[From, A]): State

    Returns an interval of elements in this sequence.

    Returns an interval of elements in this sequence.

    lower

    the inclusive lower bound for indexes of elements to keep.

    upper

    the exclusive upper bound for indexes of elements to keep.

    builder

    the implicit accumulator for kept elements.

    returns

    the accumulated elements with indexes greater than or equal to lower and less than upper.

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

    Definition Classes
    AnyRef
  27. def take(upper: Int)(implicit builder: Builder[From, A]): State

    Returns a prefix of this sequence up to some length.

    Returns a prefix of this sequence up to some length.

    upper

    the length of the prefix to take; also the exclusive upper bound for indexes of elements to keep.

    builder

    the implicit accumulator for taken elements.

    returns

    up to the first upper accumulated elements.

    Annotations
    @macroImpl()
  28. def takeWhile(p: (A) ⇒ Boolean)(implicit builder: Builder[From, A]): State

    Returns the longest prefix of this sequence for which each element satisfies a predicate.

    Returns the longest prefix of this sequence for which each element satisfies a predicate.

    p

    the predicate to test elements against.

    builder

    the implicit accumulator for taken elements.

    returns

    the longest prefix of accumulated elements preceding the first element to not satisfy p.

    Annotations
    @macroImpl()
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. def withFilter(p: (A) ⇒ Boolean): Index[A]

    Returns a view of all elements in this sequence that satisfy a predicate.

    Returns a view of all elements in this sequence that satisfy a predicate.

    p

    the predicate to lazily test elements against.

    returns

    a non-strict view of the filtered elements.

  34. def zip[B](those: Index[B])(implicit builder: Builder[From, (A, B)]): State

    Returns pairs of elements from this and another sequence.

    Returns pairs of elements from this and another sequence.

    those

    the sequence whose elements to pair with these elements.

    builder

    the implicit accumulator for paired elements.

    returns

    the accumulated pairs of corresponding elements.

    Annotations
    @macroImpl()

Inherited from AnyRef

Inherited from Any

Mapping

Filtering

Combining

Ungrouped