Object/Class

scala.collection.compat.immutable

LazyList

Related Docs: class LazyList | package immutable

Permalink

object LazyList extends SeqFactory[LazyList] with Serializable

$factoryInfo

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, java.io.Serializable, SeqFactory[LazyList], TraversableFactory[LazyList], GenericSeqCompanion[LazyList], GenSeqFactory[LazyList], GenTraversableFactory[LazyList], GenericCompanion[LazyList], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LazyList
  2. Serializable
  3. Serializable
  4. SeqFactory
  5. TraversableFactory
  6. GenericSeqCompanion
  7. GenSeqFactory
  8. GenTraversableFactory
  9. GenericCompanion
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Coll = LazyList[_]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenericCompanion
  2. final class Deferrer[A] extends AnyVal

    Permalink
  3. class GenericCanBuildFrom[A] extends CanBuildFrom[CC[_], A, CC[A]]

    Permalink
    Definition Classes
    GenTraversableFactory
  4. class LazyListCanBuildFrom[A] extends GenericCanBuildFrom[A]

    Permalink
  5. final class SerializationProxy[A] extends Serializable

    Permalink

    This serialization proxy is used for LazyLists which start with a sequence of evaluated cons cells.

    This serialization proxy is used for LazyLists which start with a sequence of evaluated cons cells. The forced sequence is serialized in a compact, sequential format, followed by the unevaluated tail, which uses standard Java serialization to store the complete structure of unevaluated thunks. This allows the serialization of long evaluated lazy lists without exhausting the stack through recursive serialization of cons cells.

    Annotations
    @SerialVersionUID()

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. object #::

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def ReusableCBF: GenericCanBuildFrom[Nothing]

    Permalink
    Definition Classes
    GenTraversableFactory
  6. def apply[A](elems: A*): LazyList[A]

    Permalink
    Definition Classes
    LazyList → GenericCompanion
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. implicit def canBuildFrom[A]: CanBuildFrom[Coll, A, LazyList[A]]

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def concat[A](xss: Iterable[A]*): LazyList[A]

    Permalink
  11. def concat[A](xss: Traversable[A]*): LazyList[A]

    Permalink
    Definition Classes
    GenTraversableFactory
  12. object cons

    Permalink

    An alternative way of building and matching lazy lists using LazyList.cons(hd, tl).

  13. def continually[A](elem: ⇒ A): LazyList[A]

    Permalink

    Create an infinite LazyList containing the given element expression (which is computed for each occurrence).

    Create an infinite LazyList containing the given element expression (which is computed for each occurrence).

    elem

    the element composing the resulting LazyList

    returns

    the LazyList containing an infinite number of elem

  14. def empty[A]: LazyList[A]

    Permalink
    Definition Classes
    LazyList → GenericCompanion
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def fill[A](n: Int)(elem: ⇒ A): LazyList[A]

    Permalink
    Definition Classes
    LazyList → GenTraversableFactory
  18. def fill[A](n1: Int, n2: Int, n3: Int, n4: Int, n5: Int)(elem: ⇒ A): LazyList[LazyList[LazyList[LazyList[LazyList[A]]]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  19. def fill[A](n1: Int, n2: Int, n3: Int, n4: Int)(elem: ⇒ A): LazyList[LazyList[LazyList[LazyList[A]]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  20. def fill[A](n1: Int, n2: Int, n3: Int)(elem: ⇒ A): LazyList[LazyList[LazyList[A]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  21. def fill[A](n1: Int, n2: Int)(elem: ⇒ A): LazyList[LazyList[A]]

    Permalink
    Definition Classes
    GenTraversableFactory
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def from(start: Int): LazyList[Int]

    Permalink

    Create an infinite LazyList starting at start and incrementing by 1.

    Create an infinite LazyList starting at start and incrementing by 1.

    start

    the start value of the LazyList

    returns

    the LazyList starting at value start.

  24. def from(start: Int, step: Int): LazyList[Int]

    Permalink

    Create an infinite LazyList starting at start and incrementing by step step.

    Create an infinite LazyList starting at start and incrementing by step step.

    start

    the start value of the LazyList

    step

    the increment value of the LazyList

    returns

    the LazyList starting at value start.

  25. def from[A](coll: GenTraversableOnce[A]): LazyList[A]

    Permalink
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def iterate[A](start: A, len: Int)(f: (A) ⇒ A): LazyList[A]

    Permalink
    Definition Classes
    LazyList → GenTraversableFactory
  30. def iterate[A](start: ⇒ A)(f: (A) ⇒ A): LazyList[A]

    Permalink

    An infinite LazyList that repeatedly applies a given function to a start value.

    An infinite LazyList that repeatedly applies a given function to a start value.

    start

    the start value of the LazyList

    f

    the function that's repeatedly applied

    returns

    the LazyList returning the infinite sequence of values start, f(start), f(f(start)), ...

  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def newBuilder[A]: Builder[A, LazyList[A]]

    Permalink

    The builder returned by this method only evaluates elements of collections added to it as needed.

    The builder returned by this method only evaluates elements of collections added to it as needed.

    A

    the type of the lazy list’s elements

    returns

    A builder for LazyList objects.

    Definition Classes
    LazyList → GenericCompanion
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def range[A](start: A, end: A, step: A)(implicit arg0: Integral[A]): LazyList[A]

    Permalink
    Definition Classes
    LazyList → GenTraversableFactory
  36. def range[A](start: A, end: A)(implicit arg0: Integral[A]): LazyList[A]

    Permalink
    Definition Classes
    LazyList → GenTraversableFactory
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def tabulate[A](n: Int)(f: (Int) ⇒ A): LazyList[A]

    Permalink
    Definition Classes
    LazyList → GenTraversableFactory
  39. def tabulate[A](n1: Int, n2: Int, n3: Int, n4: Int, n5: Int)(f: (Int, Int, Int, Int, Int) ⇒ A): LazyList[LazyList[LazyList[LazyList[LazyList[A]]]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  40. def tabulate[A](n1: Int, n2: Int, n3: Int, n4: Int)(f: (Int, Int, Int, Int) ⇒ A): LazyList[LazyList[LazyList[LazyList[A]]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  41. def tabulate[A](n1: Int, n2: Int, n3: Int)(f: (Int, Int, Int) ⇒ A): LazyList[LazyList[LazyList[A]]]

    Permalink
    Definition Classes
    GenTraversableFactory
  42. def tabulate[A](n1: Int, n2: Int)(f: (Int, Int) ⇒ A): LazyList[LazyList[A]]

    Permalink
    Definition Classes
    GenTraversableFactory
  43. implicit def toDeferrer[A](l: ⇒ LazyList[A]): Deferrer[A]

    Permalink
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. def unapplySeq[A](x: LazyList[A]): Some[LazyList[A]]

    Permalink
    Definition Classes
    SeqFactory
  46. def unfold[A, S](init: S)(f: (S) ⇒ Option[(A, S)]): LazyList[A]

    Permalink
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from SeqFactory[LazyList]

Inherited from TraversableFactory[LazyList]

Inherited from GenericSeqCompanion[LazyList]

Inherited from GenSeqFactory[LazyList]

Inherited from GenTraversableFactory[LazyList]

Inherited from GenericCompanion[LazyList]

Inherited from AnyRef

Inherited from Any

Ungrouped