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

trait IndexedSeqView[+A] extends IndexedSeqOps[A, View, View[A]] with SeqView[A]

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. IndexedSeqView
  2. SeqView
  3. View
  4. Serializable
  5. Iterable
  6. IterableFactoryDefaults
  7. IndexedSeqOps
  8. SeqOps
  9. IterableOps
  10. IterableOnceOps
  11. IterableOnce
  12. AnyRef
  13. Any

Implicitly

  1. by iterableOnceExtensionMethods

  2. by any2stringadd

  3. by StringFormat

  4. by Ensuring

  5. by ArrowAssoc

  6. Hide All

  7. Show All

Visibility

  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(i: Int): A
  2. abstract def length: Int

Concrete Value Members

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

Deprecated Value Members

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

Ungrouped