[Since version 2.13.0]Use LazyList (which is fully lazy) instead of Stream (which has a lazy tail only)This serialization proxy is used for Streams which start with a sequence of evaluated cons cells.
This serialization proxy is used for Streams 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 streams without exhausting the stack through recursive serialization of cons cells.
Create an infinite Stream containing the given element expression (which is computed for each occurrence).
Create an infinite Stream containing the given element expression (which is computed for each occurrence).
the element composing the resulting Stream
the Stream containing an infinite number of elem
An empty collection
An empty collection
the type of the collection's elements
Creates a target collection from an existing source collection
Creates a target collection from an existing source collection
the type of the collection’s elements
Source collection
a new collection with the elements ofsource
Create an infinite Stream starting atstart and incrementing by stepstep.
Create an infinite Stream starting atstart and incrementing by stepstep.
the start value of the Stream
the increment value of the Stream
the Stream starting at valuestart.
Create an infinite Stream starting atstart and incrementing by1.
Create an infinite Stream starting atstart and incrementing by1.
the start value of the Stream
the Stream starting at valuestart.
type of elements
Source iterator
AStream[A] that gets its elements from the givenIterator.
An infinite Stream that repeatedly applies a given function to a start value.
An infinite Stream that repeatedly applies a given function to a start value.
the function that's repeatedly applied
the start value of the Stream
the Stream returning the infinite sequence of valuesstart, f(start), f(f(start)), ...
the type of the collection’s elements
A builder forIterable objects.
Creates a collection with the specified elements.
Creates a collection with the specified elements.
the type of the collection's elements
the elements of the created collection
a new collection with elementselems
Concatenates all argument collections into a single collection.
Concatenates all argument collections into a single collection.
the collections that are to be concatenated.
the concatenation of all the collections.
Produces a five-dimensional collection containing the results of some element computation a number of times.
Produces a five-dimensional collection containing the results of some element computation a number of times.
the element computation
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3rd dimension
the number of elements in the 4th dimension
the number of elements in the 5th dimension
A collection that contains the results ofn1 x n2 x n3 x n4 x n5 evaluations ofelem.
Produces a four-dimensional collection containing the results of some element computation a number of times.
Produces a four-dimensional collection containing the results of some element computation a number of times.
the element computation
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3rd dimension
the number of elements in the 4th dimension
A collection that contains the results ofn1 x n2 x n3 x n4 evaluations ofelem.
Produces a three-dimensional collection containing the results of some element computation a number of times.
Produces a three-dimensional collection containing the results of some element computation a number of times.
the element computation
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3rd dimension
A collection that contains the results ofn1 x n2 x n3 evaluations ofelem.
Produces a two-dimensional collection containing the results of some element computation a number of times.
Produces a two-dimensional collection containing the results of some element computation a number of times.
the element computation
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
A collection that contains the results ofn1 x n2 evaluations ofelem.
Produces a collection containing the results of some element computation a number of times.
Produces a collection containing the results of some element computation a number of times.
the element computation
the number of elements contained in the collection.
A collection that contains the results ofn evaluations ofelem.
Produces a collection containing repeated applications of a function to a start value.
Produces a collection containing repeated applications of a function to a start value.
the function that's repeatedly applied
the number of elements contained in the collection
the start value of the collection
a collection withlen values in the sequencestart, f(start), f(f(start)), ...
Produces a collection containing equally spaced values in some integer interval.
Produces a collection containing equally spaced values in some integer interval.
the end value of the collection (the first value NOT contained)
the start value of the collection
the difference between successive elements of the collection (must be positive or negative)
a collection with valuesstart, start + step, ... up to, but excludingend
Produces a collection containing a sequence of increasing of integers.
Produces a collection containing a sequence of increasing of integers.
the end value of the collection (the first value NOT contained)
the first element of the collection
a collection with valuesstart, start + 1, ..., end - 1
Produces a five-dimensional collection containing values of a given function over ranges of integer values starting from 0.
Produces a five-dimensional collection containing values of a given function over ranges of integer values starting from 0.
The function computing element values
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3rd dimension
the number of elements in the 4th dimension
the number of elements in the 5th dimension
A collection consisting of elementsf(i1, i2, i3, i4, i5) for0 <= i1 < n1,0 <= i2 < n2,0 <= i3 < n3,0 <= i4 < n4, and0 <= i5 < n5.
Produces a four-dimensional collection containing values of a given function over ranges of integer values starting from 0.
Produces a four-dimensional collection containing values of a given function over ranges of integer values starting from 0.
The function computing element values
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3rd dimension
the number of elements in the 4th dimension
A collection consisting of elementsf(i1, i2, i3, i4) for0 <= i1 < n1,0 <= i2 < n2,0 <= i3 < n3, and0 <= i4 < n4.
Produces a three-dimensional collection containing values of a given function over ranges of integer values starting from 0.
Produces a three-dimensional collection containing values of a given function over ranges of integer values starting from 0.
The function computing element values
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
the number of elements in the 3rd dimension
A collection consisting of elementsf(i1, i2, i3) for0 <= i1 < n1,0 <= i2 < n2, and0 <= i3 < n3.
Produces a two-dimensional collection containing values of a given function over ranges of integer values starting from 0.
Produces a two-dimensional collection containing values of a given function over ranges of integer values starting from 0.
The function computing element values
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
A collection consisting of elementsf(i1, i2) for0 <= i1 < n1 and0 <= i2 < n2.
Produces a collection containing values of a given function over a range of integer values starting from 0.
Produces a collection containing values of a given function over a range of integer values starting from 0.
The function computing element values
The number of elements in the collection
A collection consisting of elementsf(0), ..., f(n -1)
Produces a collection that uses a functionf to produce elements of typeA and update an internal state of typeS.
Produces a collection that uses a functionf to produce elements of typeA and update an internal state of typeS.
Type of the elements
Type of the internal state
Computes the next element (or returnsNone to signal the end of the collection)
State initial value
a collection that produces elements usingf untilf returnsNone