Packages

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[_]
    Attributes
    protected[this]
    Definition Classes
    GenericCompanion
  2. final class Deferrer[A] extends AnyVal
  3. class GenericCanBuildFrom[A] extends CanBuildFrom[CC[_], A, CC[A]]
    Definition Classes
    GenTraversableFactory
  4. class LazyListCanBuildFrom[A] extends GenericCanBuildFrom[A]
  5. final class SerializationProxy[A] extends Serializable

    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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ReusableCBF: GenericCanBuildFrom[Nothing]
    Definition Classes
    GenTraversableFactory
  5. def apply[A](elems: A*): LazyList[A]
    Definition Classes
    LazyList → GenericCompanion
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. implicit def canBuildFrom[A]: CanBuildFrom[Coll, A, LazyList[A]]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def concat[A](xss: Iterable[A]*): LazyList[A]
  10. def concat[A](xss: Traversable[A]*): LazyList[A]
    Definition Classes
    GenTraversableFactory
  11. def continually[A](elem: ⇒ A): LazyList[A]

    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

  12. def empty[A]: LazyList[A]
    Definition Classes
    LazyList → GenericCompanion
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def fill[A](n: Int)(elem: ⇒ A): LazyList[A]
    Definition Classes
    LazyList → GenTraversableFactory
  16. def fill[A](n1: Int, n2: Int, n3: Int, n4: Int, n5: Int)(elem: ⇒ A): LazyList[LazyList[LazyList[LazyList[LazyList[A]]]]]
    Definition Classes
    GenTraversableFactory
  17. def fill[A](n1: Int, n2: Int, n3: Int, n4: Int)(elem: ⇒ A): LazyList[LazyList[LazyList[LazyList[A]]]]
    Definition Classes
    GenTraversableFactory
  18. def fill[A](n1: Int, n2: Int, n3: Int)(elem: ⇒ A): LazyList[LazyList[LazyList[A]]]
    Definition Classes
    GenTraversableFactory
  19. def fill[A](n1: Int, n2: Int)(elem: ⇒ A): LazyList[LazyList[A]]
    Definition Classes
    GenTraversableFactory
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def from(start: Int): LazyList[Int]

    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.

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

    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.

  23. def from[A](coll: GenTraversableOnce[A]): LazyList[A]
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def iterate[A](start: A, len: Int)(f: (A) ⇒ A): LazyList[A]
    Definition Classes
    LazyList → GenTraversableFactory
  28. def iterate[A](start: ⇒ A)(f: (A) ⇒ A): LazyList[A]

    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)), ...

  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def newBuilder[A]: Builder[A, LazyList[A]]

    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
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def range[A](start: A, end: A, step: A)(implicit arg0: Integral[A]): LazyList[A]
    Definition Classes
    LazyList → GenTraversableFactory
  34. def range[A](start: A, end: A)(implicit arg0: Integral[A]): LazyList[A]
    Definition Classes
    LazyList → GenTraversableFactory
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def tabulate[A](n: Int)(f: (Int) ⇒ A): LazyList[A]
    Definition Classes
    LazyList → GenTraversableFactory
  37. 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]]]]]
    Definition Classes
    GenTraversableFactory
  38. def tabulate[A](n1: Int, n2: Int, n3: Int, n4: Int)(f: (Int, Int, Int, Int) ⇒ A): LazyList[LazyList[LazyList[LazyList[A]]]]
    Definition Classes
    GenTraversableFactory
  39. def tabulate[A](n1: Int, n2: Int, n3: Int)(f: (Int, Int, Int) ⇒ A): LazyList[LazyList[LazyList[A]]]
    Definition Classes
    GenTraversableFactory
  40. def tabulate[A](n1: Int, n2: Int)(f: (Int, Int) ⇒ A): LazyList[LazyList[A]]
    Definition Classes
    GenTraversableFactory
  41. implicit def toDeferrer[A](l: ⇒ LazyList[A]): Deferrer[A]
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. def unapplySeq[A](x: LazyList[A]): Some[LazyList[A]]
    Definition Classes
    SeqFactory
  44. def unfold[A, S](init: S)(f: (S) ⇒ Option[(A, S)]): LazyList[A]
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  48. object #::
  49. object cons

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

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