IterableOnceExtensionMethods

scala.collection.IterableOnceExtensionMethods
final class IterableOnceExtensionMethods[A](it: IterableOnce[A]) extends AnyVal

Attributes

Source
IterableOnce.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Deprecated methods

def /:[B](z: B)(op: (B, A) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.foldLeft instead
Source
IterableOnce.scala
def :\[B](z: B)(op: (A, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.foldRight instead
Source
IterableOnce.scala
def collectFirst[B](f: PartialFunction[A, B]): Option[B]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.collectFirst(...) instead
Source
IterableOnce.scala
def copyToBuffer(dest: Buffer[A]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.copyToBuffer(...) instead
Source
IterableOnce.scala
def count(f: A => Boolean): Int

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.count(...) instead
Source
IterableOnce.scala
def exists(f: A => Boolean): Boolean

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.exists(...) instead
Source
IterableOnce.scala
def filter(f: A => Boolean): Iterator[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.filter(...) instead
Source
IterableOnce.scala
def find(p: A => Boolean): Option[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.find instead
Source
IterableOnce.scala
def flatMap[B](f: A => IterableOnce[B]): IterableOnce[B]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.flatMap instead or consider requiring an Iterable
Source
IterableOnce.scala
def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.fold instead
Source
IterableOnce.scala
def foldLeft[B](z: B)(op: (B, A) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.foldLeft instead
Source
IterableOnce.scala
def foldRight[B](z: B)(op: (A, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.foldRight instead
Source
IterableOnce.scala
def forall(f: A => Boolean): Boolean

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.forall(...) instead
Source
IterableOnce.scala
def foreach[U](f: A => U): Unit

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.foreach(...) instead
Source
IterableOnce.scala

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.isEmpty instead
Source
IterableOnce.scala
def map[B](f: A => B): IterableOnce[B]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.map instead or consider requiring an Iterable
Source
IterableOnce.scala
def max(implicit ord: Ordering[A]): A

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.max instead
Source
IterableOnce.scala
def maxBy[B](f: A => B)(implicit cmp: Ordering[B]): A

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.maxBy(...) instead
Source
IterableOnce.scala
def min(implicit ord: Ordering[A]): A

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.min instead
Source
IterableOnce.scala
def minBy[B](f: A => B)(implicit cmp: Ordering[B]): A

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.minBy(...) instead
Source
IterableOnce.scala
def mkString(start: String, sep: String, end: String): String

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.mkString instead
Source
IterableOnce.scala
def mkString(sep: String): String

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.mkString instead
Source
IterableOnce.scala

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.mkString instead
Source
IterableOnce.scala

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.nonEmpty instead
Source
IterableOnce.scala
def product(implicit num: Numeric[A]): A

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.product instead
Source
IterableOnce.scala
def reduce(f: (A, A) => A): A

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.reduce(...) instead
Source
IterableOnce.scala
def reduceLeft(f: (A, A) => A): A

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.reduceLeft(...) instead
Source
IterableOnce.scala
def reduceLeftOption(f: (A, A) => A): Option[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.reduceLeftOption(...) instead
Source
IterableOnce.scala
def reduceOption(f: (A, A) => A): Option[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.reduceOption(...) instead
Source
IterableOnce.scala
def reduceRight(f: (A, A) => A): A

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.reduceRight(...) instead
Source
IterableOnce.scala
def reduceRightOption(f: (A, A) => A): Option[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.reduceRightOption(...) instead
Source
IterableOnce.scala
def sameElements[B >: A](that: IterableOnce[B]): Boolean

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.sameElements instead
Source
IterableOnce.scala
def size: Int

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.size instead
Source
IterableOnce.scala
def sum(implicit num: Numeric[A]): A

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.sum instead
Source
IterableOnce.scala
def to[C1](factory: Factory[A, C1]): C1

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(factory) instead
Source
IterableOnce.scala
def toArray[B >: A : ClassTag]: Array[B]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.toArray
Source
IterableOnce.scala
def toBuffer[B >: A]: Buffer[B]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(ArrayBuffer) instead
Source
IterableOnce.scala

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.toIndexedSeq instead
Source
IterableOnce.scala
final def toIterable: Iterable[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(Iterable) instead
Source
IterableOnce.scala

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead
Source
IterableOnce.scala
def toList: List[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(List) instead
Source
IterableOnce.scala
def toMap[K, V](implicit ev: A <:< (K, V)): Map[K, V]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(Map) instead
Source
IterableOnce.scala
def toSeq: Seq[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(Seq) instead
Source
IterableOnce.scala
def toSet[B >: A]: Set[B]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(Set) instead
Source
IterableOnce.scala
def toStream: Stream[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(LazyList) instead
Source
IterableOnce.scala
final def toTraversable: Iterable[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(Iterable) instead
Source
IterableOnce.scala
def toVector: Vector[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.to(Vector) instead
Source
IterableOnce.scala
def withFilter(f: A => Boolean): Iterator[A]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator.withFilter(...) instead
Source
IterableOnce.scala