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

abstract class AbstractView[+A] extends AbstractIterable[A] with View[A]

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. AbstractView
  2. View
  3. Serializable
  4. AbstractIterable
  5. Iterable
  6. IterableFactoryDefaults
  7. IterableOps
  8. IterableOnceOps
  9. IterableOnce
  10. AnyRef
  11. 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

Instance Constructors

  1. new AbstractView()

Abstract Value Members

  1. abstract def iterator: Iterator[A]

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. def ->[B](y: B): (AbstractView[A], B)
  6. final def ==(arg0: Any): Boolean
  7. final def addString(b: mutable.StringBuilder): mutable.StringBuilder
  8. final def addString(b: mutable.StringBuilder, sep: String): mutable.StringBuilder
  9. def addString(b: mutable.StringBuilder, start: String, sep: String, end: String): mutable.StringBuilder
  10. final def asInstanceOf[T0]: T0
  11. def className: String
  12. def clone(): AnyRef
  13. final def coll: AbstractView.this.type
  14. def collect[B](pf: PartialFunction[A, B]): View[B]
  15. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
  16. def concat[B >: A](suffix: IterableOnce[B]): View[B]
  17. def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Int
  18. def copyToArray[B >: A](xs: Array[B], start: Int): Int
  19. def copyToArray[B >: A](xs: Array[B]): Int
  20. def corresponds[B](that: IterableOnce[B])(p: (A, B) => Boolean): Boolean
  21. def count(p: (A) => Boolean): Int
  22. def drop(n: Int): View[A]
  23. def dropRight(n: Int): View[A]
  24. def dropWhile(p: (A) => Boolean): View[A]
  25. def empty: View[A]
  26. def ensuring(cond: (AbstractView[A]) => Boolean, msg: => Any): AbstractView[A]
  27. def ensuring(cond: (AbstractView[A]) => Boolean): AbstractView[A]
  28. def ensuring(cond: Boolean, msg: => Any): AbstractView[A]
  29. def ensuring(cond: Boolean): AbstractView[A]
  30. final def eq(arg0: AnyRef): Boolean
  31. def equals(arg0: AnyRef): Boolean
  32. def exists(p: (A) => Boolean): Boolean
  33. def filter(pred: (A) => Boolean): View[A]
  34. def filterNot(pred: (A) => Boolean): View[A]
  35. def finalize(): Unit
  36. def find(p: (A) => Boolean): Option[A]
  37. def flatMap[B](f: (A) => IterableOnce[B]): View[B]
  38. def flatten[B](implicit asIterable: (A) => IterableOnce[B]): View[B]
  39. def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
  40. def foldLeft[B](z: B)(op: (B, A) => B): B
  41. def foldRight[B](z: B)(op: (A, B) => B): B
  42. def forall(p: (A) => Boolean): Boolean
  43. def foreach[U](f: (A) => U): Unit
  44. def formatted(fmtstr: String): String
  45. def fromSpecific(coll: IterableOnce[A]): View[A]
  46. final def getClass(): Class[_ <: AnyRef]
  47. def groupBy[K](f: (A) => K): immutable.Map[K, View[A]]
  48. def groupMap[K, B](key: (A) => K)(f: (A) => B): immutable.Map[K, View[B]]
  49. def groupMapReduce[K, B](key: (A) => K)(f: (A) => B)(reduce: (B, B) => B): immutable.Map[K, B]
  50. def grouped(size: Int): Iterator[View[A]]
  51. def hashCode(): Int
  52. def head: A
  53. def headOption: Option[A]
  54. def init: View[A]
  55. def inits: Iterator[View[A]]
  56. def isEmpty: Boolean
  57. final def isInstanceOf[T0]: Boolean
  58. def isTraversableAgain: Boolean
  59. def iterableFactory: IterableFactory[View]
  60. def knownSize: Int
  61. def last: A
  62. def lastOption: Option[A]
  63. def lazyZip[B](that: Iterable[B]): LazyZip2[A, B, AbstractView.this.type]
  64. def map[B](f: (A) => B): View[B]
  65. def max[B >: A](implicit ord: math.Ordering[B]): A
  66. def maxBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
  67. def maxByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
  68. def maxOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
  69. def min[B >: A](implicit ord: math.Ordering[B]): A
  70. def minBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
  71. def minByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
  72. def minOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
  73. final def mkString: String
  74. final def mkString(sep: String): String
  75. final def mkString(start: String, sep: String, end: String): String
  76. final def ne(arg0: AnyRef): Boolean
  77. def newSpecificBuilder: Builder[A, View[A]]
  78. def nonEmpty: Boolean
  79. final def notify(): Unit
  80. final def notifyAll(): Unit
  81. def partition(p: (A) => Boolean): (View[A], View[A])
  82. def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (View[A1], View[A2])
  83. def product[B >: A](implicit num: math.Numeric[B]): B
  84. def reduce[B >: A](op: (B, B) => B): B
  85. def reduceLeft[B >: A](op: (B, A) => B): B
  86. def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
  87. def reduceOption[B >: A](op: (B, B) => B): Option[B]
  88. def reduceRight[B >: A](op: (A, B) => B): B
  89. def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
  90. def reversed: Iterable[A]
  91. def scan[B >: A](z: B)(op: (B, B) => B): View[B]
  92. def scanLeft[B](z: B)(op: (B, A) => B): View[B]
  93. def scanRight[B](z: B)(op: (A, B) => B): View[B]
  94. def size: Int
  95. def sizeCompare(that: Iterable[_]): Int
  96. def sizeCompare(otherSize: Int): Int
  97. final def sizeIs: SizeCompareOps
  98. def slice(from: Int, until: Int): View[A]
  99. def sliding(size: Int, step: Int): Iterator[View[A]]
  100. def sliding(size: Int): Iterator[View[A]]
  101. def span(p: (A) => Boolean): (View[A], View[A])
  102. def splitAt(n: Int): (View[A], View[A])
  103. def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S
  104. def stringPrefix: String
  105. def sum[B >: A](implicit num: math.Numeric[B]): B
  106. final def synchronized[T0](arg0: => T0): T0
  107. def tail: View[A]
  108. def tails: Iterator[View[A]]
  109. def take(n: Int): View[A]
  110. def takeRight(n: Int): View[A]
  111. def takeWhile(p: (A) => Boolean): View[A]
  112. def tapEach[U](f: (A) => U): View[A]
  113. def to[C1](factory: Factory[A, C1]): C1
  114. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
  115. final def toBuffer[B >: A]: Buffer[B]
  116. def toIndexedSeq: immutable.IndexedSeq[A]
  117. final def toIterable: AbstractView.this.type
  118. def toList: immutable.List[A]
  119. def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
  120. def toSeq: immutable.Seq[A]
  121. def toSet[B >: A]: immutable.Set[B]
  122. def toString(): String
  123. def toVector: immutable.Vector[A]
  124. def transpose[B](implicit asIterable: (A) => Iterable[B]): View[View[B]]
  125. def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (View[A1], View[A2])
  126. def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (View[A1], View[A2], View[A3])
  127. def view: View[A]
  128. final def wait(): Unit
  129. final def wait(arg0: Long, arg1: Int): Unit
  130. final def wait(arg0: Long): Unit
  131. def withFilter(p: (A) => Boolean): WithFilter[A, [_]View[_]]
  132. def zip[B](that: IterableOnce[B]): View[(A, B)]
  133. def zipAll[A1 >: A, B](that: Iterable[B], thisElem: A1, thatElem: B): View[(A1, B)]
  134. def zipWithIndex: View[(A, Int)]

Deprecated Value Members

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

Ungrouped