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

trait IterableOps[+A, +CC[_], +C] extends IterableOnce[A] with IterableOnceOps[A, CC, C]

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

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

Deprecated Value Members

  1. def ++:[B >: A](that: IterableOnce[B]): CC[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[CC]
  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 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. def product(implicit num: math.Numeric[A]): A
  33. def reduce(f: (A, A) => A): A
  34. def reduceLeft(f: (A, A) => A): A
  35. def reduceLeftOption(f: (A, A) => A): Option[A]
  36. def reduceOption(f: (A, A) => A): Option[A]
  37. def reduceRight(f: (A, A) => A): A
  38. def reduceRightOption(f: (A, A) => A): Option[A]
  39. final def repr: C
  40. def sameElements[B >: A](that: IterableOnce[B]): Boolean
  41. def size: Int
  42. def sum(implicit num: math.Numeric[A]): A
  43. def to[C1](factory: Factory[A, C1]): C1
  44. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
  45. def toBuffer[B >: A]: Buffer[B]
  46. def toIndexedSeq: IndexedSeq[A]
  47. final def toIterable: Iterable[A]
  48. def toIterator: Iterator[A]
  49. final def toIterator: Iterator[A]
  50. def toList: immutable.List[A]
  51. def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
  52. def toSeq: immutable.Seq[A]
  53. def toSet[B >: A]: immutable.Set[B]
  54. def toStream: immutable.Stream[A]
  55. final def toStream: immutable.Stream[A]
  56. final def toTraversable: Traversable[A]
  57. final def toTraversable: Traversable[A]
  58. def toVector: immutable.Vector[A]
  59. def view(from: Int, until: Int): View[A]
  60. def withFilter(f: (A) => Boolean): Iterator[A]
  61. def →[B](y: B): (IterableOps[A, CC, C], B)

Inherited from IterableOnceOps[A, CC, C]

Inherited from IterableOnce[A]

Inherited from Any

Inherited by implicit conversion iterableOnceExtensionMethods fromIterableOps[A, CC, C] to IterableOnceExtensionMethods[A]

Inherited by implicit conversion any2stringadd fromIterableOps[A, CC, C] to any2stringadd[IterableOps[A, CC, C]]

Inherited by implicit conversion StringFormat fromIterableOps[A, CC, C] to StringFormat[IterableOps[A, CC, C]]

Inherited by implicit conversion Ensuring fromIterableOps[A, CC, C] to Ensuring[IterableOps[A, CC, C]]

Inherited by implicit conversion ArrowAssoc fromIterableOps[A, CC, C] to ArrowAssoc[IterableOps[A, CC, C]]

Ungrouped