Scala Standard Library 2.13.15 - scala.collection.mutable.ArraySeq (original) (raw)

sealed abstract class ArraySeq[T] extends AbstractSeq[T] with IndexedSeq[T] with IndexedSeqOps[T, ArraySeq, ArraySeq[T]] with StrictOptimizedSeqOps[T, ArraySeq, ArraySeq[T]] with Serializable

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. ArraySeq
  2. Serializable
  3. StrictOptimizedSeqOps
  4. StrictOptimizedIterableOps
  5. IndexedSeq
  6. IndexedSeqOps
  7. IndexedSeq
  8. IndexedSeqOps
  9. AbstractSeq
  10. Seq
  11. SeqOps
  12. Cloneable
  13. Cloneable
  14. Iterable
  15. AbstractSeq
  16. Seq
  17. Equals
  18. SeqOps
  19. PartialFunction
  20. Function1
  21. AbstractIterable
  22. Iterable
  23. IterableFactoryDefaults
  24. IterableOps
  25. IterableOnceOps
  26. IterableOnce
  27. AnyRef
  28. Any

Implicitly

  1. by UnliftOps

  2. by iterableOnceExtensionMethods

  3. by any2stringadd

  4. by StringFormat

  5. by Ensuring

  6. by ArrowAssoc

  7. Hide All

  8. Show All

Visibility

  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(i: Int): T
  2. abstract def array: Array[_]
  3. abstract def elemTag: ClassTag[_]
  4. abstract def length: Int
  5. abstract def update(index: Int, elem: T): Unit

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##: Int
  3. def +(other: String): String
  4. final def ++[B >: T](suffix: IterableOnce[B]): ArraySeq[B]
  5. final def ++:[B >: T](prefix: IterableOnce[B]): ArraySeq[B]
  6. final def +:[B >: T](elem: B): ArraySeq[B]
  7. def ->[B](y: B): (ArraySeq[T], B)
  8. final def :+[B >: T](elem: B): ArraySeq[B]
  9. final def :++[B >: T](suffix: IterableOnce[B]): ArraySeq[B]
  10. final def ==(arg0: Any): Boolean
  11. final def addString(b: StringBuilder): b.type
  12. final def addString(b: StringBuilder, sep: String): b.type
  13. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
  14. def andThen[C](k: PartialFunction[T, C]): PartialFunction[Int, C]
  15. def andThen[C](k: (T) => C): PartialFunction[Int, C]
  16. def appended[B >: T](elem: B): ArraySeq[B]
  17. def appendedAll[B >: T](suffix: IterableOnce[B]): ArraySeq[B]
  18. def applyOrElse[A1 <: Int, B1 >: T](x: A1, default: (A1) => B1): B1
  19. final def asInstanceOf[T0]: T0
  20. def canEqual(that: Any): Boolean
  21. def className: String
  22. def clone(): ArraySeq[T]
  23. final def coll: ArraySeq.this.type
  24. def collect[B](pf: PartialFunction[T, B]): ArraySeq[B]
  25. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]
  26. def combinations(n: Int): Iterator[ArraySeq[T]]
  27. def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, T]
  28. def compose[A](g: (A) => Int): (A) => T
  29. final def concat[B >: T](suffix: IterableOnce[B]): ArraySeq[B]
  30. def contains[A1 >: T](elem: A1): Boolean
  31. def containsSlice[B >: T](that: collection.Seq[B]): Boolean
  32. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Int
  33. def copyToArray[B >: T](xs: Array[B], start: Int): Int
  34. def copyToArray[B >: T](xs: Array[B]): Int
  35. def corresponds[B](that: collection.Seq[B])(p: (T, B) => Boolean): Boolean
  36. def corresponds[B](that: IterableOnce[B])(p: (T, B) => Boolean): Boolean
  37. def count(p: (T) => Boolean): Int
  38. def diff[B >: T](that: collection.Seq[B]): ArraySeq[T]
  39. def distinct: ArraySeq[T]
  40. def distinctBy[B](f: (T) => B): ArraySeq[T]
  41. def drop(n: Int): ArraySeq[T]
  42. def dropRight(n: Int): ArraySeq[T]
  43. def dropWhile(p: (T) => Boolean): ArraySeq[T]
  44. def elementWise: ElementWiseExtractor[Int, T]
  45. def empty: ArraySeq[T]
  46. def endsWith[B >: T](that: collection.Iterable[B]): Boolean
  47. def ensuring(cond: (ArraySeq[T]) => Boolean, msg: => Any): ArraySeq[T]
  48. def ensuring(cond: (ArraySeq[T]) => Boolean): ArraySeq[T]
  49. def ensuring(cond: Boolean, msg: => Any): ArraySeq[T]
  50. def ensuring(cond: Boolean): ArraySeq[T]
  51. final def eq(arg0: AnyRef): Boolean
  52. def equals(other: Any): Boolean
  53. def exists(p: (T) => Boolean): Boolean
  54. def filter(pred: (T) => Boolean): ArraySeq[T]
  55. def filterImpl(pred: (T) => Boolean, isFlipped: Boolean): ArraySeq[T]
  56. def filterNot(pred: (T) => Boolean): ArraySeq[T]
  57. def finalize(): Unit
  58. def find(p: (T) => Boolean): Option[T]
  59. def findLast(p: (T) => Boolean): Option[T]
  60. def flatMap[B](f: (T) => IterableOnce[B]): ArraySeq[B]
  61. def flatten[B](implicit toIterableOnce: (T) => IterableOnce[B]): ArraySeq[B]
  62. def fold[A1 >: T](z: A1)(op: (A1, A1) => A1): A1
  63. def foldLeft[B](z: B)(op: (B, T) => B): B
  64. def foldRight[B](z: B)(op: (T, B) => B): B
  65. def forall(p: (T) => Boolean): Boolean
  66. def foreach[U](f: (T) => U): Unit
  67. def fromSpecific(coll: IterableOnce[T]): ArraySeq[T]
  68. final def getClass(): Class[_ <: AnyRef]
  69. def groupBy[K](f: (T) => K): immutable.Map[K, ArraySeq[T]]
  70. def groupMap[K, B](key: (T) => K)(f: (T) => B): immutable.Map[K, ArraySeq[B]]
  71. def groupMapReduce[K, B](key: (T) => K)(f: (T) => B)(reduce: (B, B) => B): immutable.Map[K, B]
  72. def grouped(size: Int): Iterator[ArraySeq[T]]
  73. def hashCode(): Int
  74. def head: T
  75. def headOption: Option[T]
  76. def indexOf[B >: T](elem: B): Int
  77. def indexOf[B >: T](elem: B, from: Int): Int
  78. def indexOfSlice[B >: T](that: collection.Seq[B]): Int
  79. def indexOfSlice[B >: T](that: collection.Seq[B], from: Int): Int
  80. def indexWhere(p: (T) => Boolean): Int
  81. def indexWhere(p: (T) => Boolean, from: Int): Int
  82. def indices: immutable.Range
  83. def init: ArraySeq[T]
  84. def inits: Iterator[ArraySeq[T]]
  85. def intersect[B >: T](that: collection.Seq[B]): ArraySeq[T]
  86. def isDefinedAt(idx: Int): Boolean
  87. def isEmpty: Boolean
  88. final def isInstanceOf[T0]: Boolean
  89. def isTraversableAgain: Boolean
  90. def iterableFactory: SeqFactory[ArraySeq]
  91. def iterator: Iterator[T]
  92. def knownSize: Int
  93. def last: T
  94. def lastIndexOf[B >: T](elem: B, end: Int = length - 1): Int
  95. def lastIndexOfSlice[B >: T](that: collection.Seq[B]): Int
  96. def lastIndexOfSlice[B >: T](that: collection.Seq[B], end: Int): Int
  97. def lastIndexWhere(p: (T) => Boolean): Int
  98. def lastIndexWhere(p: (T) => Boolean, end: Int): Int
  99. def lastOption: Option[T]
  100. def lazyZip[B](that: collection.Iterable[B]): LazyZip2[T, B, ArraySeq.this.type]
  101. final def lengthCompare(that: collection.Iterable[_]): Int
  102. final def lengthCompare(len: Int): Int
  103. final def lengthIs: SizeCompareOps
  104. def lift: (Int) => Option[T]
  105. def map[B](f: (T) => B): ArraySeq[B]
  106. def mapInPlace(f: (T) => T): ArraySeq.this.type
  107. def max[B >: T](implicit ord: math.Ordering[B]): T
  108. def maxBy[B](f: (T) => B)(implicit ord: math.Ordering[B]): T
  109. def maxByOption[B](f: (T) => B)(implicit ord: math.Ordering[B]): Option[T]
  110. def maxOption[B >: T](implicit ord: math.Ordering[B]): Option[T]
  111. def min[B >: T](implicit ord: math.Ordering[B]): T
  112. def minBy[B](f: (T) => B)(implicit ord: math.Ordering[B]): T
  113. def minByOption[B](f: (T) => B)(implicit ord: math.Ordering[B]): Option[T]
  114. def minOption[B >: T](implicit ord: math.Ordering[B]): Option[T]
  115. final def mkString: String
  116. final def mkString(sep: String): String
  117. final def mkString(start: String, sep: String, end: String): String
  118. final def ne(arg0: AnyRef): Boolean
  119. def newSpecificBuilder: Builder[T, ArraySeq[T]]
  120. def nonEmpty: Boolean
  121. final def notify(): Unit
  122. final def notifyAll(): Unit
  123. def occCounts[B](sq: collection.Seq[B]): Map[B, Int]
  124. def orElse[A1 <: Int, B1 >: T](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
  125. def padTo[B >: T](len: Int, elem: B): ArraySeq[B]
  126. def partition(p: (T) => Boolean): (ArraySeq[T], ArraySeq[T])
  127. def partitionMap[A1, A2](f: (T) => Either[A1, A2]): (ArraySeq[A1], ArraySeq[A2])
  128. def patch[B >: T](from: Int, other: IterableOnce[B], replaced: Int): ArraySeq[B]
  129. def permutations: Iterator[ArraySeq[T]]
  130. def prepended[B >: T](elem: B): ArraySeq[B]
  131. def prependedAll[B >: T](prefix: IterableOnce[B]): ArraySeq[B]
  132. def product[B >: T](implicit num: math.Numeric[B]): B
  133. def reduce[B >: T](op: (B, B) => B): B
  134. def reduceLeft[B >: T](op: (B, T) => B): B
  135. def reduceLeftOption[B >: T](op: (B, T) => B): Option[B]
  136. def reduceOption[B >: T](op: (B, B) => B): Option[B]
  137. def reduceRight[B >: T](op: (T, B) => B): B
  138. def reduceRightOption[B >: T](op: (T, B) => B): Option[B]
  139. def reverse: ArraySeq[T]
  140. def reverseIterator: Iterator[T]
  141. def reversed: collection.Iterable[T]
  142. def runWith[U](action: (T) => U): (Int) => Boolean
  143. def sameElements[B >: T](that: IterableOnce[B]): Boolean
  144. def scan[B >: T](z: B)(op: (B, B) => B): ArraySeq[B]
  145. def scanLeft[B](z: B)(op: (B, T) => B): ArraySeq[B]
  146. def scanRight[B](z: B)(op: (T, B) => B): ArraySeq[B]
  147. def search[B >: T](elem: B, from: Int, to: Int)(implicit ord: math.Ordering[B]): SearchResult
  148. def search[B >: T](elem: B)(implicit ord: math.Ordering[B]): SearchResult
  149. def segmentLength(p: (T) => Boolean, from: Int): Int
  150. final def segmentLength(p: (T) => Boolean): Int
  151. final def size: Int
  152. final def sizeCompare(that: collection.Iterable[_]): Int
  153. final def sizeCompare(otherSize: Int): Int
  154. final def sizeIs: SizeCompareOps
  155. def slice(from: Int, until: Int): ArraySeq[T]
  156. def sliding(size: Int, step: Int): Iterator[ArraySeq[T]]
  157. def sliding(size: Int): Iterator[ArraySeq[T]]
  158. def sortBy[B](f: (T) => B)(implicit ord: Ordering[B]): ArraySeq[T]
  159. def sortInPlace[B >: T]()(implicit ord: Ordering[B]): ArraySeq.this.type
  160. def sortInPlaceBy[B](f: (T) => B)(implicit ord: Ordering[B]): ArraySeq.this.type
  161. def sortInPlaceWith(lt: (T, T) => Boolean): ArraySeq.this.type
  162. def sortWith(lt: (T, T) => Boolean): ArraySeq[T]
  163. def sorted[B >: T](implicit ord: Ordering[B]): ArraySeq[T]
  164. def span(p: (T) => Boolean): (ArraySeq[T], ArraySeq[T])
  165. def splitAt(n: Int): (ArraySeq[T], ArraySeq[T])
  166. def startsWith[B >: T](that: IterableOnce[B], offset: Int = 0): Boolean
  167. def stepper[S <: Stepper[_]](implicit shape: StepperShape[T, S]): S with EfficientSplit
  168. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[T, B]): C2
  169. final def strictOptimizedConcat[B >: T, C2](that: IterableOnce[B], b: Builder[B, C2]): C2
  170. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (T) => IterableOnce[B]): C2
  171. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (T) => IterableOnce[B]): C2
  172. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (T) => B): C2
  173. final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[(T, B), C2]): C2
  174. def stringPrefix: String
  175. def sum[B >: T](implicit num: math.Numeric[B]): B
  176. final def synchronized[T0](arg0: => T0): T0
  177. def tail: ArraySeq[T]
  178. def tails: Iterator[ArraySeq[T]]
  179. def take(n: Int): ArraySeq[T]
  180. def takeRight(n: Int): ArraySeq[T]
  181. def takeWhile(p: (T) => Boolean): ArraySeq[T]
  182. def tapEach[U](f: (T) => U): ArraySeq[T]
  183. def to[C1](factory: Factory[T, C1]): C1
  184. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]
  185. final def toBuffer[B >: T]: Buffer[B]
  186. def toIndexedSeq: immutable.IndexedSeq[T]
  187. def toList: immutable.List[T]
  188. def toMap[K, V](implicit ev: <:<[T, (K, V)]): immutable.Map[K, V]
  189. def toSeq: immutable.Seq[T]
  190. def toSet[B >: T]: immutable.Set[B]
  191. def toString(): String
  192. def toVector: immutable.Vector[T]
  193. def transpose[B](implicit asIterable: (T) => collection.Iterable[B]): ArraySeq[ArraySeq[B]]
  194. def unapply(a: Int): Option[T]
  195. def unlift: PartialFunction[Int, B]
  196. def unzip[A1, A2](implicit asPair: (T) => (A1, A2)): (ArraySeq[A1], ArraySeq[A2])
  197. def unzip3[A1, A2, A3](implicit asTriple: (T) => (A1, A2, A3)): (ArraySeq[A1], ArraySeq[A2], ArraySeq[A3])
  198. def updated[B >: T](index: Int, elem: B): ArraySeq[B]
  199. def view: IndexedSeqView[T]
  200. final def wait(): Unit
  201. final def wait(arg0: Long, arg1: Int): Unit
  202. final def wait(arg0: Long): Unit
  203. def withFilter(p: (T) => Boolean): WithFilter[T, [_]ArraySeq[_]]
  204. def zip[B](that: IterableOnce[B]): ArraySeq[(T, B)]
  205. def zipAll[A1 >: T, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): ArraySeq[(A1, B)]
  206. def zipWithIndex: ArraySeq[(T, Int)]

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, T) => B): B
  2. final def /:[B](z: B)(op: (B, T) => B): B
  3. def :\[B](z: B)(op: (T, B) => B): B
  4. final def :\[B](z: B)(op: (T, B) => B): B
  5. def aggregate[B](z: => B)(seqop: (B, T) => B, combop: (B, B) => B): B
  6. def collectFirst[B](f: PartialFunction[T, B]): Option[B]
  7. def companion: IterableFactory[[_]ArraySeq[_]]
  8. def copyToBuffer(dest: Buffer[T]): Unit
  9. final def copyToBuffer[B >: T](dest: Buffer[B]): Unit
  10. def count(f: (T) => Boolean): Int
  11. def exists(f: (T) => Boolean): Boolean
  12. def filter(f: (T) => Boolean): Iterator[T]
  13. def find(p: (T) => Boolean): Option[T]
  14. def flatMap[B](f: (T) => IterableOnce[B]): IterableOnce[B]
  15. def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
  16. def foldLeft[B](z: B)(op: (B, T) => B): B
  17. def foldRight[B](z: B)(op: (T, B) => B): B
  18. def forall(f: (T) => Boolean): Boolean
  19. def foreach[U](f: (T) => U): Unit
  20. def formatted(fmtstr: String): String
  21. def hasDefiniteSize: Boolean
  22. def isEmpty: Boolean
  23. def map[B](f: (T) => B): IterableOnce[B]
  24. def max(implicit ord: math.Ordering[T]): T
  25. def maxBy[B](f: (T) => B)(implicit cmp: math.Ordering[B]): T
  26. def min(implicit ord: math.Ordering[T]): T
  27. def minBy[B](f: (T) => B)(implicit cmp: math.Ordering[B]): T
  28. def mkString: String
  29. def mkString(sep: String): String
  30. def mkString(start: String, sep: String, end: String): String
  31. def nonEmpty: Boolean
  32. final def prefixLength(p: (T) => Boolean): Int
  33. def product(implicit num: math.Numeric[T]): T
  34. def reduce(f: (T, T) => T): T
  35. def reduceLeft(f: (T, T) => T): T
  36. def reduceLeftOption(f: (T, T) => T): Option[T]
  37. def reduceOption(f: (T, T) => T): Option[T]
  38. def reduceRight(f: (T, T) => T): T
  39. def reduceRightOption(f: (T, T) => T): Option[T]
  40. final def repr: ArraySeq[T]
  41. def reverseMap[B](f: (T) => B): ArraySeq[B]
  42. def sameElements[B >: A](that: IterableOnce[B]): Boolean
  43. def seq: ArraySeq.this.type
  44. def size: Int
  45. def sum(implicit num: math.Numeric[T]): T
  46. def to[C1](factory: Factory[T, C1]): C1
  47. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
  48. def toBuffer[B >: A]: Buffer[B]
  49. def toIndexedSeq: collection.IndexedSeq[T]
  50. final def toIterable: collection.Iterable[T]
  51. final def toIterable: ArraySeq.this.type
  52. def toIterator: Iterator[T]
  53. final def toIterator: Iterator[T]
  54. def toList: immutable.List[T]
  55. def toMap[K, V](implicit ev: <:<[T, (K, V)]): immutable.Map[K, V]
  56. def toSeq: immutable.Seq[T]
  57. def toSet[B >: A]: immutable.Set[B]
  58. def toStream: immutable.Stream[T]
  59. final def toStream: immutable.Stream[T]
  60. final def toTraversable: collection.Traversable[T]
  61. final def toTraversable: collection.Traversable[T]
  62. def toVector: immutable.Vector[T]
  63. final def transform(f: (T) => T): ArraySeq.this.type
  64. final def union[B >: T](that: collection.Seq[B]): ArraySeq[B]
  65. def view(from: Int, until: Int): IndexedSeqView[T]
  66. def withFilter(f: (T) => Boolean): Iterator[T]
  67. def →[B](y: B): (ArraySeq[T], B)

Inherited from java.io.Serializable

Inherited from StrictOptimizedSeqOps[T, ArraySeq, ArraySeq[T]]

Inherited from StrictOptimizedIterableOps[T, ArraySeq, ArraySeq[T]]

Inherited from IndexedSeq[T]

Inherited from IndexedSeqOps[T, [_]ArraySeq[_], ArraySeq[T]]

Inherited from collection.IndexedSeq[T]

Inherited from collection.IndexedSeqOps[T, [_]ArraySeq[_], ArraySeq[T]]

Inherited from AbstractSeq[T]

Inherited from Seq[T]

Inherited from SeqOps[T, [_]ArraySeq[_], ArraySeq[T]]

Inherited from Cloneable[ArraySeq[T]]

Inherited from java.lang.Cloneable

Inherited from Iterable[T]

Inherited from collection.AbstractSeq[T]

Inherited from collection.Seq[T]

Inherited from Equals

Inherited from collection.SeqOps[T, [_]ArraySeq[_], ArraySeq[T]]

Inherited from PartialFunction[Int, T]

Inherited from (Int) => T

Inherited from collection.AbstractIterable[T]

Inherited from collection.Iterable[T]

Inherited from IterableFactoryDefaults[T, [x]IndexedSeq[x]]

Inherited from IterableOps[T, [_]ArraySeq[_], ArraySeq[T]]

Inherited from IterableOnceOps[T, [_]ArraySeq[_], ArraySeq[T]]

Inherited from IterableOnce[T]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion UnliftOps fromArraySeq[T] to UnliftOps[Int, B]

Inherited by implicit conversion iterableOnceExtensionMethods fromArraySeq[T] to IterableOnceExtensionMethods[T]

Inherited by implicit conversion any2stringadd fromArraySeq[T] to any2stringadd[ArraySeq[T]]

Inherited by implicit conversion StringFormat fromArraySeq[T] to StringFormat[ArraySeq[T]]

Inherited by implicit conversion Ensuring fromArraySeq[T] to Ensuring[ArraySeq[T]]

Inherited by implicit conversion ArrowAssoc fromArraySeq[T] to ArrowAssoc[ArraySeq[T]]

Ungrouped