SafeBuffer

com.thoughtworks.binding.SafeBuffer
final class SafeBuffer[A] extends Buffer[A]

Similar to scala.collection.mutable.ArrayBuffer, except that this SafeBuffer allows adding or removing elements via += and -= inside a foreachNonHole() } }">foreach block.

Attributes

Note:

A java.lang.IllegalStateException will be thrown when invoking methods other than += and -= in a foreachNonHole() } }">foreach block.

Source:
SafeBuffer.scala
Graph
Supertypes
trait Buffer[A]
trait Shrinkable[A]
trait Growable[A]
trait Clearable
trait Seq[A]
trait SeqOps[A, Buffer, Buffer[A]]
trait Cloneable[Buffer[A]]
trait Cloneable
trait Seq[A]
trait Equals
trait SeqOps[A, Buffer, Buffer[A]]
trait Int => A
trait Iterable[A]
trait Iterable[A]
trait IterableOps[A, Buffer, Buffer[A]]
trait IterableOnce[A]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addOne(x: A): SafeBuffer.this.type

Attributes

Source:
SafeBuffer.scala
def apply(n: Int): A

Attributes

Source:
SafeBuffer.scala
def clear(): Unit

Attributes

Source:
SafeBuffer.scala
def insert(idx: Int, elem: A): Unit

Attributes

Source:
SafeBuffer.scala

Attributes

Source:
SafeBuffer.scala
override def isEmpty: Boolean

Attributes

Definition Classes
Source:
SafeBuffer.scala

Attributes

Source:
SafeBuffer.scala
def length: Int

Attributes

Source:
SafeBuffer.scala
def prepend(elem: A): SafeBuffer.this.type

Attributes

Source:
SafeBuffer.scala

Attributes

Source:
SafeBuffer.scala
def remove(n: Int): A

Attributes

Source:
SafeBuffer.scala
override def subtractOne(x: A): SafeBuffer.this.type

Attributes

Definition Classes
Source:
SafeBuffer.scala
def update(n: Int, newelem: A): Unit

Attributes

Source:
SafeBuffer.scala

Inherited methods

final def ++[B >: A](suffix: IterableOnce[B]): CC[B]

Attributes

Inherited from:
IterableOps
final override def ++:[B >: A](prefix: IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
SeqOps
final def ++=(xs: IterableOnce[A]): Growable.this.type

Attributes

Inherited from:
Growable
final def ++=:(elems: IterableOnce[A]): Buffer.this.type

Attributes

Inherited from:
Buffer
final def +:[B >: A](elem: B): CC[B]

Attributes

Inherited from:
SeqOps
final def +=(elem: A): Growable.this.type

Attributes

Inherited from:
Growable
final def +=:(elem: A): Buffer.this.type

Attributes

Inherited from:
Buffer
final def --=(xs: IterableOnce[A]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def -=(elem: A): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def :+[B >: A](elem: B): CC[B]

Attributes

Inherited from:
SeqOps
final def :++[B >: A](suffix: IterableOnce[B]): CC[B]

Attributes

Inherited from:
SeqOps
def addAll(xs: IterableOnce[A]): Growable.this.type

Attributes

Inherited from:
Growable

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: A => C): PartialFunction[A, C]

Attributes

Definition Classes
Inherited from:
PartialFunction
final def append(elem: A): Buffer.this.type

Attributes

Inherited from:
Buffer
final def appendAll(xs: IterableOnce[A]): Buffer.this.type

Attributes

Inherited from:
Buffer
def appended[B >: A](elem: B): CC[B]

Attributes

Inherited from:
SeqOps
def appendedAll[B >: A](suffix: IterableOnce[B]): CC[B]

Attributes

Inherited from:
SeqOps
def applyOrElse[A1 <: Int, B1 >: A](x: A1, default: A1 => B1): B1

Attributes

Inherited from:
PartialFunction
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Seq
override def clone(): C

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns:

a copy of the receiver object.

Note:

not specified by SLS as a member of AnyRef

Definition Classes
SeqOps -> Cloneable -> Object
Inherited from:
SeqOps
def collect[B](pf: PartialFunction[A, B]): CC[B]

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => Int): A => R

Attributes

Inherited from:
Function1
final override def concat[B >: A](suffix: IterableOnce[B]): CC[B]

Attributes

Definition Classes
Inherited from:
SeqOps
def contains[A1 >: A](elem: A1): Boolean

Attributes

Inherited from:
SeqOps
def containsSlice[B >: A](that: Seq[B]): Boolean

Attributes

Inherited from:
SeqOps
def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: A](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: A](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (A, B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: Seq[B])(p: (A, B) => Boolean): Boolean

Attributes

Inherited from:
SeqOps
def count(p: A => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
def diff[B >: A](that: Seq[B]): C

Attributes

Inherited from:
SeqOps
def distinct: C

Attributes

Inherited from:
SeqOps
def distinctBy[B](f: A => B): C

Attributes

Inherited from:
SeqOps
def drop(n: Int): C

Attributes

Inherited from:
IterableOps
def dropInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def dropRight(n: Int): C

Attributes

Inherited from:
IterableOps
def dropRightInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def dropWhile(p: A => Boolean): C

Attributes

Inherited from:
IterableOps
def dropWhileInPlace(p: A => Boolean): Buffer.this.type

Attributes

Inherited from:
Buffer

Attributes

Inherited from:
PartialFunction
override def empty: CC[A]

Attributes

Definition Classes
Inherited from:
IterableFactoryDefaults
def endsWith[B >: A](that: Iterable[B]): Boolean

Attributes

Inherited from:
SeqOps
override def equals(o: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Attributes

that

the object to compare against this object for equality.

Returns:

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
Seq -> Equals -> Any
Inherited from:
Seq
def exists(p: A => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def filter(pred: A => Boolean): C

Attributes

Inherited from:
IterableOps
def filterNot(pred: A => Boolean): C

Attributes

Inherited from:
IterableOps
def find(p: A => Boolean): Option[A]

Attributes

Inherited from:
IterableOnceOps
def findLast(p: A => Boolean): Option[A]

Attributes

Inherited from:
SeqOps
def flatMap[B](f: A => IterableOnce[B]): CC[B]

Attributes

Inherited from:
IterableOps
def flatten[B](implicit asIterable: A => IterableOnce[B]): CC[B]

Attributes

Inherited from:
IterableOps
def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, A) => B): B

Attributes

Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: (A, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def forall(p: A => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
protected def fromSpecific(coll: IterableOnce[A]): CC[A]

Attributes

Inherited from:
IterableFactoryDefaults
def groupBy[K](f: A => K): Map[K, C]

Attributes

Inherited from:
IterableOps
def groupMap[K, B](key: A => K)(f: A => B): Map[K, CC[B]]

Attributes

Inherited from:
IterableOps
def groupMapReduce[K, B](key: A => K)(f: A => B)(reduce: (B, B) => B): Map[K, B]

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps
override def hashCode(): Int

Calculate a hash code value for the object.

Calculate a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns:

the hash code value for this object.

Definition Classes
Seq -> Any
Inherited from:
Seq
def head: A

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps
def indexOf[B >: A](elem: B): Int

Attributes

Inherited from:
SeqOps
def indexOf[B >: A](elem: B, from: Int): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: A](that: Seq[B]): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: A](that: Seq[B], from: Int): Int

Attributes

Inherited from:
SeqOps
def indexWhere(p: A => Boolean): Int

Attributes

Inherited from:
SeqOps
def indexWhere(p: A => Boolean, from: Int): Int

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
def init: C

Attributes

Inherited from:
IterableOps
def inits: Iterator[C]

Attributes

Inherited from:
IterableOps
def intersect[B >: A](that: Seq[B]): C

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Definition Classes
Inherited from:
IterableOps

Attributes

Definition Classes
Inherited from:
Buffer
override def knownSize: Int

Attributes

Definition Classes
Inherited from:
Buffer
def last: A

Attributes

Inherited from:
IterableOps
def lastIndexOf[B >: A](elem: B, end: Int): Int

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: A](that: Seq[B]): Int

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: A](that: Seq[B], end: Int): Int

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
Iterable

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
def lift: A => Option[B]

Attributes

Inherited from:
PartialFunction
def map[B](f: A => B): CC[B]

Attributes

Inherited from:
IterableOps
def max[B >: A](implicit ord: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: A => B)(implicit cmp: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: A => B)(implicit cmp: Ordering[B]): Option[A]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: A](implicit ord: Ordering[B]): Option[A]

Attributes

Inherited from:
IterableOnceOps
def min[B >: A](implicit ord: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: A => B)(implicit cmp: Ordering[B]): A

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: A => B)(implicit cmp: Ordering[B]): Option[A]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: A](implicit ord: Ordering[B]): Option[A]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
protected def newSpecificBuilder: Builder[A, CC[A]]

Attributes

Inherited from:
IterableFactoryDefaults

Attributes

Inherited from:
IterableOnceOps
def orElse[A1 <: Int, B1 >: A](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

Attributes

Inherited from:
PartialFunction
def padTo[B >: A](len: Int, elem: B): CC[B]

Attributes

Inherited from:
SeqOps
def padToInPlace(len: Int, elem: A): Buffer.this.type

Attributes

Inherited from:
Buffer
def partition(p: A => Boolean): (C, C)

Attributes

Inherited from:
IterableOps
def partitionMap[A1, A2](f: A => Either[A1, A2]): (CC[A1], CC[A2])

Attributes

Inherited from:
IterableOps
def patch[B >: A](from: Int, other: IterableOnce[B], replaced: Int): CC[B]

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
def prependAll(elems: IterableOnce[A]): Buffer.this.type

Attributes

Inherited from:
Buffer
def prepended[B >: A](elem: B): CC[B]

Attributes

Inherited from:
SeqOps
def prependedAll[B >: A](prefix: IterableOnce[B]): CC[B]

Attributes

Inherited from:
SeqOps
def product[B >: A](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: A](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: A](op: (B, A) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: A](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: A](op: (A, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: A](op: (A, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reverse: C

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
protected def reversed: Iterable[A]

Attributes

Inherited from:
IterableOnceOps
def runWith[U](action: A => U): A => Boolean

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
Cloneable
def scan[B >: A](z: B)(op: (B, B) => B): CC[B]

Attributes

Inherited from:
IterableOps
def scanLeft[B](z: B)(op: (B, A) => B): CC[B]

Attributes

Inherited from:
IterableOps
def scanRight[B](z: B)(op: (A, B) => B): CC[B]

Attributes

Inherited from:
IterableOps
def search[B >: A](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult

Attributes

Inherited from:
SeqOps
def search[B >: A](elem: B)(implicit ord: Ordering[B]): SearchResult

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps
final def segmentLength(p: A => Boolean): Int

Attributes

Inherited from:
SeqOps
final override def size: Int

Attributes

Definition Classes
Inherited from:
SeqOps
final override def sizeCompare(that: Iterable[_]): Int

Attributes

Definition Classes
Inherited from:
SeqOps
final override def sizeCompare(otherSize: Int): Int

Attributes

Definition Classes
Inherited from:
SeqOps

Attributes

Inherited from:
IterableOps
def slice(from: Int, until: Int): C

Attributes

Inherited from:
IterableOps
def sliceInPlace(start: Int, end: Int): Buffer.this.type

Attributes

Inherited from:
Buffer

Attributes

Inherited from:
IterableOps

Attributes

Inherited from:
IterableOps
def sortBy[B](f: A => B)(implicit ord: Ordering[B]): C

Attributes

Inherited from:
SeqOps
def sortWith(lt: (A, A) => Boolean): C

Attributes

Inherited from:
SeqOps
def sorted[B >: A](implicit ord: Ordering[B]): C

Attributes

Inherited from:
SeqOps
def span(p: A => Boolean): (C, C)

Attributes

Inherited from:
IterableOps
override def splitAt(n: Int): (C, C)

Attributes

Definition Classes
Inherited from:
IterableOps

Attributes

Inherited from:
SeqOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S

Attributes

Inherited from:
IterableOnce

Attributes

Inherited from:
Shrinkable
def sum[B >: A](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def tail: C

Attributes

Inherited from:
IterableOps
def tails: Iterator[C]

Attributes

Inherited from:
IterableOps
def take(n: Int): C

Attributes

Inherited from:
IterableOps
def takeInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def takeRight(n: Int): C

Attributes

Inherited from:
IterableOps
def takeRightInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def takeWhile(p: A => Boolean): C

Attributes

Inherited from:
IterableOps
def takeWhileInPlace(p: A => Boolean): Buffer.this.type

Attributes

Inherited from:
Buffer
override def tapEach[U](f: A => U): C

Attributes

Definition Classes
Inherited from:
IterableOps
def to[C1](factory: Factory[A, C1]): C1

Attributes

Inherited from:
IterableOnceOps
def toArray[B >: A : ClassTag]: Array[B]

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: A]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def toList: List[A]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: A <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
def toSeq: Seq[A]

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: A]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Seq -> Function1 -> Iterable -> Any
Inherited from:
Seq

Attributes

Inherited from:
IterableOnceOps
def transpose[B](implicit asIterable: A => Iterable[B]): CC[CC[B]]

Attributes

Inherited from:
IterableOps
def unapply(a: Int): Option[B]

Attributes

Inherited from:
PartialFunction
def unzip[A1, A2](implicit asPair: A => (A1, A2)): (CC[A1], CC[A2])

Attributes

Inherited from:
IterableOps
def unzip3[A1, A2, A3](implicit asTriple: A => (A1, A2, A3)): (CC[A1], CC[A2], CC[A3])

Attributes

Inherited from:
IterableOps
def updated[B >: A](index: Int, elem: B): CC[B]

Attributes

Inherited from:
SeqOps
override def view: SeqView[A]

Attributes

Definition Classes
Inherited from:
SeqOps
def withFilter(p: A => Boolean): WithFilter[A, CC]

Attributes

Inherited from:
IterableOps
def zip[B](that: IterableOnce[B]): CC[(A, B)]

Attributes

Inherited from:
IterableOps
def zipAll[A1 >: A, B](that: Iterable[B], thisElem: A1, thatElem: B): CC[(A1, B)]

Attributes

Inherited from:
IterableOps
def zipWithIndex: CC[(A, Int)]

Attributes

Inherited from:
IterableOps

Deprecated and Inherited methods

final def +=(elem1: A, elem2: A, elems: A*): Growable.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable
def -=(elem1: A, elem2: A, elems: A*): Shrinkable.this.type

Attributes

Deprecated
[Since version 2.13.3] Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Shrinkable
final def /:[B](z: B)(op: (B, A) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (A, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
final def append(elems: A*): Buffer.this.type

Attributes

Deprecated
[Since version 2.13.0] Use appendAll instead
Inherited from:
Buffer

Attributes

Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
final def copyToBuffer[B >: A](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps

Attributes

Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
final def prefixLength(p: A => Boolean): Int

Attributes

Deprecated
[Since version 2.13.0] Use segmentLength instead of prefixLength
Inherited from:
SeqOps
final def prepend(elems: A*): Buffer.this.type

Attributes

Deprecated
[Since version 2.13.0] Use prependAll instead
Inherited from:
Buffer
final def repr: C

Attributes

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
def reverseMap[B](f: A => B): CC[B]

Attributes

Deprecated
[Since version 2.13.0] Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
Inherited from:
SeqOps
def seq: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
final def toIterable: Iterable.this.type

Attributes

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
final def toIterator: Iterator[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[A]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
final def toTraversable: Iterable[A]

Attributes

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
final def transform(f: A => A): SeqOps.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `mapInPlace` on an `IndexedSeq` instead
Inherited from:
SeqOps
def trimEnd(n: Int): Unit

Attributes

Deprecated
[Since version 2.13.4] use dropRightInPlace instead
Inherited from:
Buffer

Attributes

Deprecated
[Since version 2.13.4] use dropInPlace instead
Inherited from:
Buffer
final def union[B >: A](that: Seq[B]): CC[B]

Attributes

Deprecated
[Since version 2.13.0] Use `concat` instead
Inherited from:
SeqOps
def view(from: Int, until: Int): View[A]

Attributes

Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Inherited from:
IterableOps