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.
AttributesAn alternative way of building and matching Streams using Stream.cons(hd, tl).
An alternative way of building and matching Streams using Stream.cons(hd, tl).
AttributesCreate 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).
Value parametersthe element composing the resulting Stream
the Stream containing an infinite number of elem
An empty collection
An empty collection
Type parametersthe type of the collection's elements
Creates a target collection from an existing source collection
Creates a target collection from an existing source collection
Type parametersthe type of the collectionâs elements
Source collection
a new collection with the elements of source
Create an infinite Stream starting at start
and incrementing by step step
.
Create an infinite Stream starting at start
and incrementing by step step
.
the start value of the Stream
the increment value of the Stream
the Stream starting at value start
.
Create an infinite Stream starting at start
and incrementing by 1
.
Create an infinite Stream starting at start
and incrementing by 1
.
the start value of the Stream
the Stream starting at value start
.
type of elements
Source iterator
A Stream[A]
that gets its elements from the given Iterator
.
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.
Value parametersthe function that's repeatedly applied
the start value of the Stream
the Stream returning the infinite sequence of values start, f(start), f(f(start)), ...
the type of the collectionâs elements
A builder for Iterable
objects.
Creates a collection with the specified elements.
Creates a collection with the specified elements.
Type parametersthe type of the collection's elements
the elements of the created collection
a new collection with elements elems
Concatenates all argument collections into a single collection.
Concatenates all argument collections into a single collection.
Value parametersthe 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.
Value parametersthe 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 of n1 x n2 x n3 x n4 x n5
evaluations of elem
.
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.
Value parametersthe 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 of n1 x n2 x n3 x n4
evaluations of elem
.
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.
Value parametersthe 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 of n1 x n2 x n3
evaluations of elem
.
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.
Value parametersthe element computation
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
A collection that contains the results of n1 x n2
evaluations of elem
.
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.
Value parametersthe element computation
the number of elements contained in the collection.
A collection that contains the results of n
evaluations of elem
.
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.
Value parametersthe function that's repeatedly applied
the number of elements contained in the collection
the start value of the collection
a collection with len
values in the sequence start, 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.
Value parametersthe 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 values start, start + step, ...
up to, but excluding end
Produces a collection containing a sequence of increasing of integers.
Produces a collection containing a sequence of increasing of integers.
Value parametersthe end value of the collection (the first value NOT contained)
the first element of the collection
a collection with values start, 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.
Value parametersThe 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 elements f(i1, i2, i3, i4, i5)
for 0 <= i1 < n1
, 0 <= i2 < n2
, 0 <= i3 < n3
, 0 <= i4 < n4
, and 0 <= 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.
Value parametersThe 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 elements f(i1, i2, i3, i4)
for 0 <= i1 < n1
, 0 <= i2 < n2
, 0 <= i3 < n3
, and 0 <= 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.
Value parametersThe 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 elements f(i1, i2, i3)
for 0 <= i1 < n1
, 0 <= i2 < n2
, and 0 <= 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.
Value parametersThe function computing element values
the number of elements in the 1st dimension
the number of elements in the 2nd dimension
A collection consisting of elements f(i1, i2)
for 0 <= i1 < n1
and 0 <= 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.
Value parametersThe function computing element values
The number of elements in the collection
A collection consisting of elements f(0), ..., f(n -1)
Produces a collection that uses a function f
to produce elements of type A
and update an internal state of type S
.
Produces a collection that uses a function f
to produce elements of type A
and update an internal state of type S
.
Type of the elements
Type of the internal state
Computes the next element (or returns None
to signal the end of the collection)
State initial value
a collection that produces elements using f
until f
returns None
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4