Scala Standard Library 2.13.1 - scala.collection.mutable.IndexedSeq (original) (raw)

trait IndexedSeq[T] extends Seq[T] with collection.IndexedSeq[T] with IndexedSeqOps[T, IndexedSeq, IndexedSeq[T]] with IterableFactoryDefaults[T, IndexedSeq]

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. IndexedSeq
  2. IndexedSeqOps
  3. IndexedSeq
  4. IndexedSeqOps
  5. Seq
  6. SeqOps
  7. Cloneable
  8. Cloneable
  9. Seq
  10. Equals
  11. SeqOps
  12. PartialFunction
  13. Function1
  14. Iterable
  15. Iterable
  16. IterableFactoryDefaults
  17. IterableOps
  18. IterableOnceOps
  19. IterableOnce
  20. AnyRef
  21. Any

Implicitly

  1. by SeqCharSequence

  2. by UnliftOps

  3. by iterableOnceExtensionMethods

  4. by any2stringadd

  5. by StringFormat

  6. by Ensuring

  7. by ArrowAssoc

  8. Hide All

  9. Show All

Visibility

  1. Public
  2. Protected

Abstract Value Members

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

Shadowed Implicit Value Members

  1. def length(): Int
  2. def toString(): String

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[[_]IndexedSeq[_]]
  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 hasDefiniteSize: Boolean
  21. def isEmpty: Boolean
  22. def map[B](f: (T) => B): IterableOnce[B]
  23. def max(implicit ord: math.Ordering[T]): T
  24. def maxBy[B](f: (T) => B)(implicit cmp: math.Ordering[B]): T
  25. def min(implicit ord: math.Ordering[T]): T
  26. def minBy[B](f: (T) => B)(implicit cmp: math.Ordering[B]): T
  27. def mkString: String
  28. def mkString(sep: String): String
  29. def mkString(start: String, sep: String, end: String): String
  30. def nonEmpty: Boolean
  31. final def prefixLength(p: (T) => Boolean): Int
  32. def product(implicit num: math.Numeric[T]): T
  33. def reduce(f: (T, T) => T): T
  34. def reduceLeft(f: (T, T) => T): T
  35. def reduceLeftOption(f: (T, T) => T): Option[T]
  36. def reduceOption(f: (T, T) => T): Option[T]
  37. def reduceRight(f: (T, T) => T): T
  38. def reduceRightOption(f: (T, T) => T): Option[T]
  39. final def repr: IndexedSeq[T]
  40. def reverseMap[B](f: (T) => B): IndexedSeq[B]
  41. def sameElements[B >: A](that: IterableOnce[B]): Boolean
  42. def seq: IndexedSeq.this.type
  43. def size: Int
  44. def sum(implicit num: math.Numeric[T]): T
  45. def to[C1](factory: Factory[T, C1]): C1
  46. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
  47. def toBuffer[B >: A]: Buffer[B]
  48. def toIndexedSeq: collection.IndexedSeq[T]
  49. final def toIterable: collection.Iterable[T]
  50. def toIterator: Iterator[T]
  51. final def toIterator: Iterator[T]
  52. def toList: immutable.List[T]
  53. def toMap[K, V](implicit ev: <:<[T, (K, V)]): immutable.Map[K, V]
  54. def toSeq: immutable.Seq[T]
  55. def toSet[B >: A]: immutable.Set[B]
  56. def toStream: immutable.Stream[T]
  57. final def toStream: immutable.Stream[T]
  58. final def toTraversable: collection.Traversable[T]
  59. final def toTraversable: collection.Traversable[T]
  60. def toVector: immutable.Vector[T]
  61. final def transform(f: (T) => T): IndexedSeq.this.type
  62. final def union[B >: T](that: collection.Seq[B]): IndexedSeq[B]
  63. def view(from: Int, until: Int): IndexedSeqView[T]
  64. def withFilter(f: (T) => Boolean): Iterator[T]
  65. def →[B](y: B): (IndexedSeq[T], B)

Inherited from IndexedSeqOps[T, IndexedSeq, IndexedSeq[T]]

Inherited from collection.IndexedSeq[T]

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

Inherited from Seq[T]

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

Inherited from Cloneable[IndexedSeq[T]]

Inherited from java.lang.Cloneable

Inherited from collection.Seq[T]

Inherited from Equals

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

Inherited from PartialFunction[Int, T]

Inherited from (Int) => T

Inherited from Iterable[T]

Inherited from collection.Iterable[T]

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

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

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

Inherited from IterableOnce[T]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion SeqCharSequence fromIndexedSeq[T] to SeqCharSequence

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

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

Inherited by implicit conversion any2stringadd fromIndexedSeq[T] to any2stringadd[IndexedSeq[T]]

Inherited by implicit conversion StringFormat fromIndexedSeq[T] to StringFormat[IndexedSeq[T]]

Inherited by implicit conversion Ensuring fromIndexedSeq[T] to Ensuring[IndexedSeq[T]]

Inherited by implicit conversion ArrowAssoc fromIndexedSeq[T] to ArrowAssoc[IndexedSeq[T]]

Ungrouped