IterableOnceExtensionMethods

final class IterableOnceExtensionMethods[A](it: IterableOnce[A]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Deprecated methods

@deprecated("Use .iterator.foldLeft instead", "2.13.0") @inline
def /:[B](z: B)(op: (B, A) => B): B
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.foldRight instead", "2.13.0") @inline
def :\[B](z: B)(op: (A, B) => B): B
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.collectFirst(...) instead", "2.13.0")
def collectFirst[B](f: PartialFunction[A, B]): Option[B]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.copyToBuffer(...) instead", "2.13.0")
def copyToBuffer(dest: Buffer[A]): Unit
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.count(...) instead", "2.13.0")
def count(f: A => Boolean): Int
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.exists(...) instead", "2.13.0")
def exists(f: A => Boolean): Boolean
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.filter(...) instead", "2.13.0")
def filter(f: A => Boolean): Iterator[A]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.find instead", "2.13.0")
def find(p: A => Boolean): Option[A]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.flatMap instead or consider requiring an Iterable", "2.13.0")
def flatMap[B](f: A => IterableOnce[B]): IterableOnce[B]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.fold instead", "2.13.0")
def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.foldLeft instead", "2.13.0") @inline
def foldLeft[B](z: B)(op: (B, A) => B): B
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.foldRight instead", "2.13.0") @inline
def foldRight[B](z: B)(op: (A, B) => B): B
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.forall(...) instead", "2.13.0")
def forall(f: A => Boolean): Boolean
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.foreach(...) instead", "2.13.0") @inline
def foreach[U](f: A => U): Unit
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.isEmpty instead", "2.13.0")
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.map instead or consider requiring an Iterable", "2.13.0")
def map[B](f: A => B): IterableOnce[B]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.max instead", "2.13.0")
def max(implicit ord: Ordering[A]): A
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.maxBy(...) instead", "2.13.0")
def maxBy[B](f: A => B)(implicit cmp: Ordering[B]): A
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.min instead", "2.13.0")
def min(implicit ord: Ordering[A]): A
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.minBy(...) instead", "2.13.0")
def minBy[B](f: A => B)(implicit cmp: Ordering[B]): A
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.mkString instead", "2.13.0")
def mkString(start: String, sep: String, end: String): String
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.mkString instead", "2.13.0")
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.mkString instead", "2.13.0")
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.nonEmpty instead", "2.13.0")
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.product instead", "2.13.0")
def product(implicit num: Numeric[A]): A
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.reduce(...) instead", "2.13.0")
def reduce(f: (A, A) => A): A
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.reduceLeft(...) instead", "2.13.0")
def reduceLeft(f: (A, A) => A): A
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.reduceLeftOption(...) instead", "2.13.0")
def reduceLeftOption(f: (A, A) => A): Option[A]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.reduceOption(...) instead", "2.13.0")
def reduceOption(f: (A, A) => A): Option[A]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.reduceRight(...) instead", "2.13.0")
def reduceRight(f: (A, A) => A): A
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.reduceRightOption(...) instead", "2.13.0")
def reduceRightOption(f: (A, A) => A): Option[A]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.sameElements instead", "2.13.0")
def sameElements[B >: A](that: IterableOnce[B]): Boolean
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.size instead", "2.13.0")
def size: Int
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.sum instead", "2.13.0")
def sum(implicit num: Numeric[A]): A
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(factory) instead", "2.13.0")
def to[C1](factory: Factory[A, C1]): C1
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.toArray", "2.13.0")
def toArray[B >: A : ClassTag]: Array[B]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(ArrayBuffer) instead", "2.13.0")
def toBuffer[B >: A]: Buffer[B]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.toIndexedSeq instead", "2.13.0")
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(Iterable) instead", "2.13.0") @inline
final def toIterable: Iterable[A]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator instead", "2.13.0") @inline
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(List) instead", "2.13.0")
def toList: List[A]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(Map) instead", "2.13.0")
def toMap[K, V](implicit ev: A <:< (K, V)): Map[K, V]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(Seq) instead", "2.13.0") @inline
def toSeq: Seq[A]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(Set) instead", "2.13.0") @inline
def toSet[B >: A]: Set[B]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(LazyList) instead", "2.13.0") @inline
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(Iterable) instead", "2.13.0") @inline
final def toTraversable: Iterable[A]
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.to(Vector) instead", "2.13.0") @inline
Deprecated
Source:
IterableOnce.scala
@deprecated("Use .iterator.withFilter(...) instead", "2.13.0")
def withFilter(f: A => Boolean): Iterator[A]
Deprecated
Source:
IterableOnce.scala