Module : lang.stream
Module Overview
This module provides lang library operations on stream
values defined by the language specification 2020R1.
T1 | Anonymous record |
T10 | Anonymous record |
T11 | Anonymous record |
T12 | Anonymous record |
T5 | Anonymous record |
T8 | Anonymous record |
T9 | Anonymous record |
T0 | |
T2 | |
T3 | |
T4 | |
T6 | |
T7 |
close | Closes a stream. |
filter | Selects the members from a stream for which a function returns true. |
forEach | Applies a function to each member of a stream. |
iterator | Returns an iterator over a stream. |
map | Applies a function to each member of a stream and returns a stream of the results. |
next | Returns the next element in the stream wrapped in a record or () if the stream ends. |
reduce | Combines the members of a stream using a combining function. |