final class ExSeqOps[A] extends AnyVal
- Alphabetic
- By Inheritance
- ExSeqOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def ++[B >: A](that: Ex[Seq[B]]): Ex[Seq[B]]
A concatenation of this sequence with
thatsequence - def +:[B >: A](elem: Ex[B]): Ex[Seq[B]]
A new sequence with the element prepended
- def :+[B >: A](elem: Ex[B]): Ex[Seq[B]]
A new sequence with the element appended
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def appended[B >: A](elem: Ex[B]): Ex[Seq[B]]
A new sequence with the element appended
- def apply(index: Ex[Int])(implicit d: HasDefault[A]): Ex[A]
The element at a given
indexif the index is valid, otherwise the default value - def applyOption(index: Ex[Int]): Ex[Option[A]]
The element at a given
indexif the index is valid - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def concat[B >: A](that: Ex[Seq[B]]): Ex[Seq[B]]
A concatenation of this sequence with
thatsequence - def contains(elem: Ex[A]): Ex[Boolean]
Whether this collection contains an element or not
- def count(p: (Ex[A]) => Ex[Boolean]): Ex[Int]
- def diff(that: Ex[Seq[A]]): Ex[Seq[A]]
The multiset difference between this sequence and
thatsequence - def differentiate(implicit num: Num[A]): Ex[Seq[A]]
- def distinct: Ex[Seq[A]]
All the elements of this sequence ignoring the duplicates
- def drop(n: Ex[Int]): Ex[Seq[A]]
All elements except first
nones - def dropRight(n: Ex[Int]): Ex[Seq[A]]
The rest of this sequence without its
nlast elements - def dropWhile(p: (Ex[A]) => Ex[Boolean]): Ex[Seq[A]]
- def endsWith(that: Ex[Seq[A]]): Ex[Boolean]
Tests whether this sequence ends with
thatsequence - def exists(p: (Ex[A]) => Ex[Boolean]): Ex[Boolean]
- def filter(p: (Ex[A]) => Ex[Boolean]): Ex[Seq[A]]
- def filterNot(p: (Ex[A]) => Ex[Boolean]): Ex[Seq[A]]
- def find(p: (Ex[A]) => Ex[Boolean]): Ex[Option[A]]
- def findLast(p: (Ex[A]) => Ex[Boolean]): Ex[Option[A]]
- def flatMap[B, To](f: (Ex[A]) => B)(implicit fm: CanFlatMap[Seq, B, To]): To
- def foldLeft[B](z: Ex[B])(op: (Ex[B], Ex[A]) => Ex[B]): Ex[B]
- def forall(p: (Ex[A]) => Ex[Boolean]): Ex[Boolean]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def grouped(size: Ex[Int]): Ex[Seq[Seq[A]]]
Partitions elements in fixed size sequences
- def head(implicit d: HasDefault[A]): Ex[A]
The first element if the sequence is non-empty, otherwise the default value
- def headOption: Ex[Option[A]]
The first element if the sequence is non-empty
- def indexOf(elem: Ex[A], from: Ex[Int]): Ex[Int]
The index of the first occurrence of
elemat or afterfromin this sequence, or-1if not found - def indexOf(elem: Ex[A]): Ex[Int]
The index of the first occurrence of
elemin this sequence, or-1if not found - def indexOfSlice(that: Ex[Seq[A]], from: Ex[Int]): Ex[Int]
First index at or after
fromwhere this sequence containsthatsequence as a slice, or-1if not found - def indexOfSlice(that: Ex[Seq[A]]): Ex[Int]
First index where this sequence contains
thatsequence as a slice, or-1if not found - def indexWhere(p: (Ex[A]) => Ex[Boolean]): Ex[Int]
- def indices: Ex[Seq[Int]]
Indices from zero until the size of this sequence
- def integrate(implicit num: Num[A]): Ex[Seq[A]]
- def intersect(that: Ex[Seq[A]]): Ex[Seq[A]]
The multiset intersection between this sequence and
thatsequence - def isDefinedAt(index: Ex[Int]): Ex[Boolean]
Whether an
indexlies within this sequence - def isEmpty: Ex[Boolean]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def last(implicit d: HasDefault[A]): Ex[A]
The last element if the sequence is non-empty, otherwise the default value
- def lastIndexOf(elem: Ex[A], end: Ex[Int]): Ex[Int]
The index of the last occurrence of
elemat or beforeendin this sequence, or-1if not found - def lastIndexOf(elem: Ex[A]): Ex[Int]
The index of the last occurrence of
elemin this sequence, or-1if not found - def lastIndexOfSlice(that: Ex[Seq[A]], end: Ex[Int]): Ex[Int]
Last index at or before
endwhere this sequence containsthatsequence as a slice, or-1if not found - def lastIndexOfSlice(that: Ex[Seq[A]]): Ex[Int]
Last index where this sequence contains
thatsequence as a slice, or-1if not found - def lastOption: Ex[Option[A]]
The last element if the sequence is non-empty
- def map[B, To](f: (Ex[A]) => B)(implicit m: CanMap[Seq, B, To]): To
- def maxOption(implicit ord: ScalarOrd[A]): Ex[Option[A]]
- def minOption(implicit ord: ScalarOrd[A]): Ex[Option[A]]
- def mkString(start: Ex[String], sep: Ex[String], end: Ex[String]): Ex[String]
- def mkString(sep: Ex[String]): Ex[String]
- def mkString: Ex[String]
- def nonEmpty: Ex[Boolean]
- def padTo[B >: A](len: Ex[Int], elem: Ex[B]): Ex[Seq[B]]
- def patch[B >: A](from: Ex[Int], other: Ex[Seq[B]], replaced: Ex[Int]): Ex[Seq[B]]
- def permutations: Ex[Seq[Seq[A]]]
- def prepended[B >: A](elem: Ex[B]): Ex[Seq[B]]
- def product(implicit num: Num[A]): Ex[A]
- def reverse: Ex[Seq[A]]
- def sameElements[B >: A](that: Ex[Seq[B]]): Ex[Boolean]
- def select[B](implicit bridge: Bridge[B], ev: =:=[Ex[Seq[A]], Ex[Seq[graph.Obj]]]): Ex[Seq[B]]
- def selectFirst[B](implicit bridge: Bridge[B], ev: =:=[Ex[Seq[A]], Ex[Seq[graph.Obj]]]): Ex[Option[B]]
- def size: Ex[Int]
The number of elements in the sequence
- def slice(from: Ex[Int], until: Ex[Int]): Ex[Seq[A]]
- def sliding(size: Ex[Int], step: Ex[Int] = 1): Ex[Seq[Seq[A]]]
Groups elements in fixed size blocks by passing a "sliding window" over them.
Groups elements in fixed size blocks by passing a "sliding window" over them. Note that both
sizeandstepare automatically constraint to values of one and greater. - def sorted(implicit ord: ScalarOrd[A]): Ex[Seq[A]]
- def splitAt(n: Ex[Int]): Ex[(Seq[A], Seq[A])]
- def startsWith(that: Ex[Seq[A]], offset: Ex[Int] = 0): Ex[Boolean]
Tests whether this sequence starts with
thatsequence - def sum(implicit num: Num[A]): Ex[A]
- def take(n: Ex[Int]): Ex[Seq[A]]
- def takeRight(n: Ex[Int]): Ex[Seq[A]]
- def takeWhile(p: (Ex[A]) => Ex[Boolean]): Ex[Seq[A]]
- def toString(): String
- Definition Classes
- Any
- def updated[B >: A](index: Ex[Int], elem: Ex[B]): Ex[Seq[B]]
A new sequence equal to this sequence with one single replaced
elematindex.A new sequence equal to this sequence with one single replaced
elematindex. If the index lies outside the sequence, the original sequence is returned. - def withFilter(p: (Ex[A]) => Ex[Boolean]): Ex[Seq[A]]
- def zip[B](that: Ex[Seq[B]]): Ex[Seq[(A, B)]]
- def zipWithIndex: Ex[Seq[(A, Int)]]