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.
An alternative way of building and matching lazy lists using LazyList.cons(hd, tl).
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).
the element composing the resulting LazyList
the LazyList containing an infinite number of elem
Create an infinite LazyList starting at start
and incrementing by 1
.
Create an infinite LazyList starting at start
and incrementing by 1
.
the start value of the LazyList
the LazyList starting at value start
.
Create an infinite LazyList starting at start
and incrementing by
step step
.
Create an infinite LazyList starting at start
and incrementing by
step step
.
the start value of the LazyList
the increment value of the LazyList
the LazyList starting at value start
.
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.
the start value of the LazyList
the function that's repeatedly applied
the LazyList returning the infinite sequence of values start, f(start), f(f(start)), ...
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.
the type of the lazy list’s elements
A builder for LazyList
objects.
$factoryInfo