SnapshotSeq

final class SnapshotSeq(underlying: IndexedSeq[Snapshot]) extends IndexedSeq[Snapshot]

An IndexedSeq[Snapshot] providing toString and lines methods that can be useful for debug and log messages about program state.

See the main documentation for trait Snapshots for more information and examples.

Companion:
object
Source:
Snapshots.scala
trait IndexedSeq[Snapshot]
trait IndexedSeqOps[Snapshot, IndexedSeq, IndexedSeq[Snapshot]]
trait IndexedSeq[Snapshot]
trait IndexedSeqOps[Snapshot, IndexedSeq, IndexedSeq[Snapshot]]
trait Seq[Snapshot]
trait SeqOps[Snapshot, IndexedSeq, IndexedSeq[Snapshot]]
trait Seq[Snapshot]
trait Equals
trait SeqOps[Snapshot, IndexedSeq, IndexedSeq[Snapshot]]
trait PartialFunction[Int, Snapshot]
trait Int => Snapshot
trait Iterable[Snapshot]
trait Iterable[Snapshot]
trait IterableFactoryDefaults[Snapshot, IndexedSeq]
trait IterableOps[Snapshot, IndexedSeq, IndexedSeq[Snapshot]]
trait IterableOnceOps[Snapshot, IndexedSeq, IndexedSeq[Snapshot]]
trait IterableOnce[Snapshot]
class Object
trait Matchable
class Any

Value members

Concrete methods

def +(value: Snapshot): SnapshotSeq

Appends a string element to this sequence, if it doesn't already exist in the sequence.

Appends a string element to this sequence, if it doesn't already exist in the sequence.

If the string element already exists in this sequence, this method returns itself. If not, this method returns a new MultiSelOptionSeq with the passed value appended to the end of the original MultiSelOptionSeq.

Value parameters:
the

string element to append to this sequence

Returns:

a MultiSelOptionSeq that contains the passed string value

Source:
Snapshots.scala
def -(value: Snapshot): SnapshotSeq

Removes a string element to this sequence, if it already exists in the sequence.

Removes a string element to this sequence, if it already exists in the sequence.

If the string element does not already exist in this sequence, this method returns itself. If the element is contained in this sequence, this method returns a new MultiSelOptionSeq with the passed value removed from the the original MultiSelOptionSeq, leaving any other elements in the same order.

Value parameters:
the

string element to append to this sequence

Returns:

a MultiSelOptionSeq that contains the passed string value

Source:
Snapshots.scala
def apply(idx: Int): Snapshot

Selects an element by its index in the sequence.

Selects an element by its index in the sequence.

This method invokes apply on the underlying immutable IndexedSeq[String], passing in idx, and returns the result.

Value parameters:
idx

the index to select

Returns:

the element of this sequence at index idx, where 0 indicates the first element

Source:
Snapshots.scala
def length: Int

The length of this sequence.

The length of this sequence.

This method invokes length on the underlying immutable IndexedSeq[String] and returns the result.

Returns:

the number of elements in this sequence

Source:
Snapshots.scala
def lines: String

An alternate way to present the result of the snap method of trait Snapshots that puts each variable or expression on its own line.

An alternate way to present the result of the snap method of trait Snapshots that puts each variable or expression on its own line.

Here's an example:

scala> snap(a, b, c, d, e, f).lines
res4: String =
a was 1
b was 2
c was 3
d was 4
e was null
f was null
Source:
Snapshots.scala
override def toString: String

The default way to present the result of the snap method of trait Snapshots.

The default way to present the result of the snap method of trait Snapshots.

Here's an example:

scala> snap(a, b, c, d, e, f)
res3: org.scalactic.SnapshotSeq = a was 1, b was 2, c was 3, d was 4, e was null, f was null
Definition Classes
Seq -> Function1 -> Iterable -> Any
Source:
Snapshots.scala

Inherited methods

@inline
final def ++[B >: Snapshot](suffix: IterableOnce[B]): IndexedSeq[B]
Inherited from:
IterableOps
@inline
final override def ++:[B >: Snapshot](prefix: IterableOnce[B]): IndexedSeq[B]
Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
@inline
final def +:[B >: Snapshot](elem: B): IndexedSeq[B]
Inherited from:
SeqOps
@inline
final def :+[B >: Snapshot](elem: B): IndexedSeq[B]
Inherited from:
SeqOps
@inline
final def :++[B >: Snapshot](suffix: IterableOnce[B]): IndexedSeq[B]
Inherited from:
SeqOps
@inline
final def addString(b: StringBuilder): StringBuilder
Inherited from:
IterableOnceOps
@inline
final def addString(b: StringBuilder, sep: String): StringBuilder
Inherited from:
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
Inherited from:
IterableOnceOps
def andThen[C](k: PartialFunction[Snapshot, C]): PartialFunction[Int, C]
Inherited from:
PartialFunction
override def andThen[C](k: Snapshot => C): PartialFunction[Int, C]
Definition Classes
PartialFunction -> Function1
Inherited from:
PartialFunction
def appended[B >: Snapshot](elem: B): IndexedSeq[B]
Inherited from:
SeqOps
def appendedAll[B >: Snapshot](suffix: IterableOnce[B]): IndexedSeq[B]
Inherited from:
SeqOps
def applyOrElse[A1 <: Int, B1 >: Snapshot](x: A1, default: A1 => B1): B1
Inherited from:
PartialFunction
override def canEqual(that: Any): Boolean
Definition Classes
IndexedSeq -> Seq -> Equals
Inherited from:
IndexedSeq
def collect[B](pf: PartialFunction[Snapshot, B]): IndexedSeq[B]
Inherited from:
IterableOps
def collectFirst[B](pf: PartialFunction[Snapshot, B]): Option[B]
Inherited from:
IterableOnceOps
def combinations(n: Int): Iterator[IndexedSeq[Snapshot]]
Inherited from:
SeqOps
def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, Snapshot]
Inherited from:
PartialFunction
@unspecialized
def compose[A](g: A => Int): A => Snapshot
Inherited from:
Function1
@inline
final override def concat[B >: Snapshot](suffix: IterableOnce[B]): IndexedSeq[B]
Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
def contains[A1 >: Snapshot](elem: A1): Boolean
Inherited from:
SeqOps
def containsSlice[B >: Snapshot](that: Seq[B]): Boolean
Inherited from:
SeqOps
def copyToArray[B >: Snapshot](xs: Array[B], start: Int, len: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: Snapshot](xs: Array[B], start: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: Snapshot](xs: Array[B]): Int
Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (Snapshot, B) => Boolean): Boolean
Inherited from:
IterableOnceOps
def corresponds[B](that: Seq[B])(p: (Snapshot, B) => Boolean): Boolean
Inherited from:
SeqOps
def count(p: Snapshot => Boolean): Int
Inherited from:
IterableOnceOps
def diff[B >: Snapshot](that: Seq[B]): IndexedSeq[Snapshot]
Inherited from:
SeqOps
def distinct: IndexedSeq[Snapshot]
Inherited from:
SeqOps
def distinctBy[B](f: Snapshot => B): IndexedSeq[Snapshot]
Inherited from:
SeqOps
override def drop(n: Int): IndexedSeq[Snapshot]
Definition Classes
IndexedSeqOps -> IterableOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
override def dropRight(n: Int): IndexedSeq[Snapshot]
Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def dropWhile(p: Snapshot => Boolean): IndexedSeq[Snapshot]
Inherited from:
IterableOps
def elementWise: ElementWiseExtractor[Int, Snapshot]
Inherited from:
PartialFunction
override def empty: IndexedSeq[Snapshot]
Definition Classes
IterableFactoryDefaults -> IterableOps
Inherited from:
IterableFactoryDefaults
def endsWith[B >: Snapshot](that: Iterable[B]): Boolean
Inherited from:
SeqOps
override def equals(o: Any): Boolean
Definition Classes
Seq -> Equals -> Any
Inherited from:
Seq
def exists(p: Snapshot => Boolean): Boolean
Inherited from:
IterableOnceOps
def filter(pred: Snapshot => Boolean): IndexedSeq[Snapshot]
Inherited from:
IterableOps
def filterNot(pred: Snapshot => Boolean): IndexedSeq[Snapshot]
Inherited from:
IterableOps
def find(p: Snapshot => Boolean): Option[Snapshot]
Inherited from:
IterableOnceOps
def findLast(p: Snapshot => Boolean): Option[Snapshot]
Inherited from:
SeqOps
def flatMap[B](f: Snapshot => IterableOnce[B]): IndexedSeq[B]
Inherited from:
IterableOps
def flatten[B](implicit asIterable: Snapshot => IterableOnce[B]): IndexedSeq[B]
Inherited from:
IterableOps
def fold[A1 >: Snapshot](z: A1)(op: (A1, A1) => A1): A1
Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, Snapshot) => B): B
Inherited from:
IterableOnceOps
override def foldRight[B](z: B)(op: (Snapshot, B) => B): B
Definition Classes
IndexedSeqOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def forall(p: Snapshot => Boolean): Boolean
Inherited from:
IterableOnceOps
def foreach[U](f: Snapshot => U): Unit
Inherited from:
IterableOnceOps
protected def fromSpecific(coll: IterableOnce[Snapshot]): IndexedSeq[Snapshot]
Inherited from:
IterableFactoryDefaults
def groupBy[K](f: Snapshot => K): Map[K, IndexedSeq[Snapshot]]
Inherited from:
IterableOps
def groupMap[K, B](key: Snapshot => K)(f: Snapshot => B): Map[K, IndexedSeq[B]]
Inherited from:
IterableOps
def groupMapReduce[K, B](key: Snapshot => K)(f: Snapshot => B)(reduce: (B, B) => B): Map[K, B]
Inherited from:
IterableOps
def grouped(size: Int): Iterator[IndexedSeq[Snapshot]]
Inherited from:
IterableOps
override def hashCode(): Int
Definition Classes
Seq -> Any
Inherited from:
Seq
override def head: Snapshot
Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
override def headOption: Option[Snapshot]
Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
@deprecatedOverriding(message = "Override indexOf(elem, from) instead - indexOf(elem) calls indexOf(elem, 0)", since = "2.13.0")
def indexOf[B >: Snapshot](elem: B): Int
Inherited from:
SeqOps
def indexOf[B >: Snapshot](elem: B, from: Int): Int
Inherited from:
SeqOps
@deprecatedOverriding(message = "Override indexOfSlice(that, from) instead - indexOfSlice(that) calls indexOfSlice(that, 0)", since = "2.13.0")
def indexOfSlice[B >: Snapshot](that: Seq[B]): Int
Inherited from:
SeqOps
def indexOfSlice[B >: Snapshot](that: Seq[B], from: Int): Int
Inherited from:
SeqOps
@deprecatedOverriding(message = "Override indexWhere(p, from) instead - indexWhere(p) calls indexWhere(p, 0)", since = "2.13.0")
def indexWhere(p: Snapshot => Boolean): Int
Inherited from:
SeqOps
def indexWhere(p: Snapshot => Boolean, from: Int): Int
Inherited from:
SeqOps
def indices: Range
Inherited from:
SeqOps
def init: IndexedSeq[Snapshot]
Inherited from:
IterableOps
def inits: Iterator[IndexedSeq[Snapshot]]
Inherited from:
IterableOps
def intersect[B >: Snapshot](that: Seq[B]): IndexedSeq[Snapshot]
Inherited from:
SeqOps
def isDefinedAt(idx: Int): Boolean
Inherited from:
SeqOps
override def isEmpty: Boolean
Definition Classes
SeqOps -> IterableOnceOps
Inherited from:
SeqOps
override def isTraversableAgain: Boolean
Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
override def iterableFactory: SeqFactory[IndexedSeq]
Definition Classes
IndexedSeq -> IndexedSeq -> Seq -> Seq -> Iterable -> Iterable -> IterableOps
Inherited from:
IndexedSeq
def iterator: Iterator[Snapshot]
Inherited from:
IndexedSeqOps
override def knownSize: Int
Definition Classes
IndexedSeqOps -> IterableOnce
Inherited from:
IndexedSeqOps
override def last: Snapshot
Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def lastIndexOf[B >: Snapshot](elem: B, end: Int): Int
Inherited from:
SeqOps
@deprecatedOverriding(message = "Override lastIndexOfSlice(that, end) instead - lastIndexOfSlice(that) calls lastIndexOfSlice(that, Int.MaxValue)", since = "2.13.0")
def lastIndexOfSlice[B >: Snapshot](that: Seq[B]): Int
Inherited from:
SeqOps
def lastIndexOfSlice[B >: Snapshot](that: Seq[B], end: Int): Int
Inherited from:
SeqOps
@deprecatedOverriding(message = "Override lastIndexWhere(p, end) instead - lastIndexWhere(p) calls lastIndexWhere(p, Int.MaxValue)", since = "2.13.0")
def lastIndexWhere(p: Snapshot => Boolean): Int
Inherited from:
SeqOps
def lastIndexWhere(p: Snapshot => Boolean, end: Int): Int
Inherited from:
SeqOps
def lastOption: Option[Snapshot]
Inherited from:
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[Snapshot, B, SnapshotSeq]
Inherited from:
Iterable
final override def lengthCompare(that: Iterable[_]): Int
Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
final override def lengthCompare(len: Int): Int
Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
@inline
final def lengthIs: SizeCompareOps
Inherited from:
SeqOps
def lift: Int => Option[Snapshot]
Inherited from:
PartialFunction
override def map[B](f: Snapshot => B): IndexedSeq[B]
Definition Classes
IndexedSeqOps -> IterableOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def max[B >: Snapshot](implicit ord: Ordering[B]): Snapshot
Inherited from:
IterableOnceOps
def maxBy[B](f: Snapshot => B)(implicit cmp: Ordering[B]): Snapshot
Inherited from:
IterableOnceOps
def maxByOption[B](f: Snapshot => B)(implicit cmp: Ordering[B]): Option[Snapshot]
Inherited from:
IterableOnceOps
def maxOption[B >: Snapshot](implicit ord: Ordering[B]): Option[Snapshot]
Inherited from:
IterableOnceOps
def min[B >: Snapshot](implicit ord: Ordering[B]): Snapshot
Inherited from:
IterableOnceOps
def minBy[B](f: Snapshot => B)(implicit cmp: Ordering[B]): Snapshot
Inherited from:
IterableOnceOps
def minByOption[B](f: Snapshot => B)(implicit cmp: Ordering[B]): Option[Snapshot]
Inherited from:
IterableOnceOps
def minOption[B >: Snapshot](implicit ord: Ordering[B]): Option[Snapshot]
Inherited from:
IterableOnceOps
@inline
final def mkString: String
Inherited from:
IterableOnceOps
@inline
final def mkString(sep: String): String
Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from:
IterableOnceOps
protected def newSpecificBuilder: Builder[Snapshot, IndexedSeq[Snapshot]]
Inherited from:
IterableFactoryDefaults
@deprecatedOverriding(message = "nonEmpty is defined as !isEmpty; override isEmpty instead", since = "2.13.0")
def nonEmpty: Boolean
Inherited from:
IterableOnceOps
def orElse[A1 <: Int, B1 >: Snapshot](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
Inherited from:
PartialFunction
def padTo[B >: Snapshot](len: Int, elem: B): IndexedSeq[B]
Inherited from:
SeqOps
def partition(p: Snapshot => Boolean): (IndexedSeq[Snapshot], IndexedSeq[Snapshot])
Inherited from:
IterableOps
def partitionMap[A1, A2](f: Snapshot => Either[A1, A2]): (IndexedSeq[A1], IndexedSeq[A2])
Inherited from:
IterableOps
def patch[B >: Snapshot](from: Int, other: IterableOnce[B], replaced: Int): IndexedSeq[B]
Inherited from:
SeqOps
def permutations: Iterator[IndexedSeq[Snapshot]]
Inherited from:
SeqOps
override def prepended[B >: Snapshot](elem: B): IndexedSeq[B]
Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
def prependedAll[B >: Snapshot](prefix: IterableOnce[B]): IndexedSeq[B]
Inherited from:
SeqOps
def product[B >: Snapshot](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
def reduce[B >: Snapshot](op: (B, B) => B): B
Inherited from:
IterableOnceOps
def reduceLeft[B >: Snapshot](op: (B, Snapshot) => B): B
Inherited from:
IterableOnceOps
def reduceLeftOption[B >: Snapshot](op: (B, Snapshot) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceOption[B >: Snapshot](op: (B, B) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceRight[B >: Snapshot](op: (Snapshot, B) => B): B
Inherited from:
IterableOnceOps
def reduceRightOption[B >: Snapshot](op: (Snapshot, B) => B): Option[B]
Inherited from:
IterableOnceOps
override def reverse: IndexedSeq[Snapshot]
Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
override def reverseIterator: Iterator[Snapshot]
Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
override protected def reversed: Iterable[Snapshot]
Definition Classes
IndexedSeqOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def runWith[U](action: Snapshot => U): Int => Boolean
Inherited from:
PartialFunction
override def sameElements[B >: Snapshot](o: IterableOnce[B]): Boolean
Definition Classes
IndexedSeq -> SeqOps
Inherited from:
IndexedSeq
def scala$collection$SeqOps$$super$concat[B >: Snapshot](suffix: IterableOnce[B]): IndexedSeq[B]
Inherited from:
SeqOps
def scala$collection$SeqOps$$super$sizeCompare(that: Iterable[_]): Int
Inherited from:
SeqOps
Inherited from:
SeqOps
Inherited from:
IndexedSeq
Inherited from:
IndexedSeq
def scala$collection$immutable$IndexedSeqOps$$super$slice(from: Int, until: Int): IndexedSeq[Snapshot]
Inherited from:
IndexedSeqOps
def scan[B >: Snapshot](z: B)(op: (B, B) => B): IndexedSeq[B]
Inherited from:
IterableOps
def scanLeft[B](z: B)(op: (B, Snapshot) => B): IndexedSeq[B]
Inherited from:
IterableOps
def scanRight[B](z: B)(op: (Snapshot, B) => B): IndexedSeq[B]
Inherited from:
IterableOps
override def search[B >: Snapshot](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
override def search[B >: Snapshot](elem: B)(implicit ord: Ordering[B]): SearchResult
Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
def segmentLength(p: Snapshot => Boolean, from: Int): Int
Inherited from:
SeqOps
final def segmentLength(p: Snapshot => Boolean): Int
Inherited from:
SeqOps
final override def size: Int
Definition Classes
SeqOps -> IterableOnceOps
Inherited from:
SeqOps
final override def sizeCompare(that: Iterable[_]): Int
Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
final override def sizeCompare(otherSize: Int): Int
Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
@inline
final def sizeIs: SizeCompareOps
Inherited from:
IterableOps
override def slice(from: Int, until: Int): IndexedSeq[Snapshot]
Definition Classes
IndexedSeqOps -> IndexedSeqOps -> IterableOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def sliding(size: Int, step: Int): Iterator[IndexedSeq[Snapshot]]
Inherited from:
IterableOps
def sliding(size: Int): Iterator[IndexedSeq[Snapshot]]
Inherited from:
IterableOps
def sortBy[B](f: Snapshot => B)(implicit ord: Ordering[B]): IndexedSeq[Snapshot]
Inherited from:
SeqOps
def sortWith(lt: (Snapshot, Snapshot) => Boolean): IndexedSeq[Snapshot]
Inherited from:
SeqOps
def sorted[B >: Snapshot](implicit ord: Ordering[B]): IndexedSeq[Snapshot]
Inherited from:
SeqOps
def span(p: Snapshot => Boolean): (IndexedSeq[Snapshot], IndexedSeq[Snapshot])
Inherited from:
IterableOps
override def splitAt(n: Int): (IndexedSeq[Snapshot], IndexedSeq[Snapshot])
Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def startsWith[B >: Snapshot](that: IterableOnce[B], offset: Int): Boolean
Inherited from:
SeqOps
override def stepper[S <: Stepper[_]](implicit shape: StepperShape[Snapshot, S]): S & EfficientSplit
Definition Classes
IndexedSeqOps -> IterableOnce
Inherited from:
IndexedSeqOps
def sum[B >: Snapshot](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
def tail: IndexedSeq[Snapshot]
Inherited from:
IterableOps
def tails: Iterator[IndexedSeq[Snapshot]]
Inherited from:
IterableOps
override def take(n: Int): IndexedSeq[Snapshot]
Definition Classes
IndexedSeqOps -> IterableOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
override def takeRight(n: Int): IndexedSeq[Snapshot]
Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def takeWhile(p: Snapshot => Boolean): IndexedSeq[Snapshot]
Inherited from:
IterableOps
override def tapEach[U](f: Snapshot => U): IndexedSeq[Snapshot]
Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def to[C1](factory: Factory[Snapshot, C1]): C1
Inherited from:
IterableOnceOps
def toArray[B >: Snapshot : ClassTag]: Array[B]
Inherited from:
IterableOnceOps
@inline
final def toBuffer[B >: Snapshot]: Buffer[B]
Inherited from:
IterableOnceOps
final override def toIndexedSeq: IndexedSeq[Snapshot]
Definition Classes
IndexedSeq -> IterableOnceOps
Inherited from:
IndexedSeq
def toList: List[Snapshot]
Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: Snapshot <:< (K, V)): Map[K, V]
Inherited from:
IterableOnceOps
final override def toSeq: SnapshotSeq
Definition Classes
Seq -> IterableOnceOps
Inherited from:
Seq
def toSet[B >: Snapshot]: Set[B]
Inherited from:
IterableOnceOps
def toVector: Vector[Snapshot]
Inherited from:
IterableOnceOps
def transpose[B](implicit asIterable: Snapshot => Iterable[B]): IndexedSeq[IndexedSeq[B]]
Inherited from:
IterableOps
def unapply(a: Int): Option[Snapshot]
Inherited from:
PartialFunction
def unzip[A1, A2](implicit asPair: Snapshot => (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
Inherited from:
IterableOps
def unzip3[A1, A2, A3](implicit asTriple: Snapshot => (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
Inherited from:
IterableOps
def updated[B >: Snapshot](index: Int, elem: B): IndexedSeq[B]
Inherited from:
SeqOps
override def view: IndexedSeqView[Snapshot]
Definition Classes
IndexedSeqOps -> SeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def withFilter(p: Snapshot => Boolean): WithFilter[Snapshot, IndexedSeq]
Inherited from:
IterableOps
def zip[B](that: IterableOnce[B]): IndexedSeq[(Snapshot, B)]
Inherited from:
IterableOps
def zipAll[A1 >: Snapshot, B](that: Iterable[B], thisElem: A1, thatElem: B): IndexedSeq[(A1, B)]
Inherited from:
IterableOps
def zipWithIndex: IndexedSeq[(Snapshot, Int)]
Inherited from:
IterableOps

Deprecated and Inherited methods

@inline @deprecated(message = "Use foldLeft instead of /:", since = "2.13.0")
final def /:[B](z: B)(op: (B, Snapshot) => B): B
Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use foldRight instead of :\\", since = "2.13.0")
final def :\[B](z: B)(op: (Snapshot, B) => B): B
Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
@deprecated(message = "`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", since = "2.13.0")
def aggregate[B](z: => B)(seqop: (B, Snapshot) => B, combop: (B, B) => B): B
Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
@inline @deprecatedOverriding(message = "Use iterableFactory instead", since = "2.13.0") @deprecated(message = "Use iterableFactory instead", since = "2.13.0")
def companion: IterableFactory[IndexedSeq]
Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
@inline @deprecated(message = "Use `dest ++= coll` instead", since = "2.13.0")
final def copyToBuffer[B >: Snapshot](dest: Buffer[B]): Unit
Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
@deprecated(message = "Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", since = "2.13.0")
def hasDefiniteSize: Boolean
Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use segmentLength instead of prefixLength", since = "2.13.0")
final def prefixLength(p: Snapshot => Boolean): Int
Deprecated
[Since version 2.13.0] Use segmentLength instead of prefixLength
Inherited from:
SeqOps
@deprecated(message = "Use coll instead of repr in a collection implementation, use the collection value itself from the outside", since = "2.13.0")
final def repr: IndexedSeq[Snapshot]
Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
@deprecated(message = "Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)", since = "2.13.0")
def reverseMap[B](f: Snapshot => B): IndexedSeq[B]
Deprecated
[Since version 2.13.0] Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
Inherited from:
SeqOps
@deprecated(message = "Iterable.seq always returns the iterable itself", since = "2.13.0")
Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
@deprecated(message = "toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.7")
Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
@inline @deprecated(message = "Use .iterator instead of .toIterator", since = "2.13.0")
final def toIterator: Iterator[Snapshot]
Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use .to(LazyList) instead of .toStream", since = "2.13.0")
final def toStream: Stream[Snapshot]
Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
@deprecated(message = "toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.0")
final def toTraversable: Iterable[Snapshot]
Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
@inline @deprecated(message = "Use `concat` instead", since = "2.13.0")
final def union[B >: Snapshot](that: Seq[B]): IndexedSeq[B]
Deprecated
[Since version 2.13.0] Use `concat` instead
Inherited from:
SeqOps
@deprecated(message = "Use .view.slice(from, until) instead of .view(from, until)", since = "2.13.0")
override def view(from: Int, until: Int): IndexedSeqView[Snapshot]
Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps