c

strawman.collection

IterableOnceExtensionMethods

final class IterableOnceExtensionMethods[A] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IterableOnceExtensionMethods
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IterableOnceExtensionMethods(it: IterableOnce[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def toString(): String
    Definition Classes
    Any

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, A) ⇒ B): B
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator().foldLeft instead of /: on IterableOnce

  2. def :\[B](z: B)(op: (A, B) ⇒ B): B
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator().foldRight instead of :\ on IterableOnce

  3. def find(p: (A) ⇒ Boolean): Option[A]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().find instead of .find on IterableOnce

  4. def flatMap[B](f: (A) ⇒ IterableOnce[B]): IterableOnce[B]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().flatMap instead of .flatMap on IterableOnce or consider requiring an Iterable

  5. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator().foldLeft instead of .foldLeft on IterableOnce

  6. def foldRight[B](z: B)(op: (A, B) ⇒ B): B
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator().foldRight instead of .foldLeft on IterableOnce

  7. def foreach[U](f: (A) ⇒ U): Unit
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator().foreach(...) instead of .foreach(...) on IterableOnce

  8. def isEmpty: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().isEmpty instead of .isEmpty on IterableOnce

  9. def map[B](f: (A) ⇒ B): IterableOnce[B]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().map instead of .map on IterableOnce or consider requiring an Iterable

  10. def mkString: String
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().mkString instead of .mkString on IterableOnce

  11. def mkString(sep: String): String
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().mkString instead of .mkString on IterableOnce

  12. def mkString(start: String, sep: String, end: String): String
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator().mkString instead of .mkString on IterableOnce

  13. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ArrayBuffer.from(it).toArray

  14. def toBuffer[B >: A]: Buffer[B]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ArrayBuffer.from(it) instead of it.toBuffer

  15. def toIterator: Iterator[A]
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) toIterator has been renamed to iterator()

  16. def toList: List[A]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use List.from(it) instead of it.toList

  17. def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use Map.from(it) instead of it.toVector on IterableOnce

  18. def toSeq: immutable.Seq[A]
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use Seq.from(it) instead of it.toSeq

  19. def toSet[B >: A]: immutable.Set[B]
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use Set.from(it) instead of it.toSet

  20. def toStream: LazyList[A]
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use LazyList.from(it) instead of it.toStream

  21. def toVector: Vector[A]
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use Vector.from(it) instead of it.toVector on IterableOnce

Inherited from AnyVal

Inherited from Any

Ungrouped