Documentation
¶
Overview ¶
Package stream implements a sequence of elements supporting sequential and parallel aggregate operations. this package is an experiment to explore if stream in go can work as the way java does. it's complete, but not powerful like other libs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromChannel ¶
func FromChannel[T any](source <-chan T) stream[T]
FromChannel create stream from channel.
func FromRange ¶
func FromRange[T constraints.Integer | constraints.Float](start, end, step T) stream[T]
FromRange create a number stream from start to end. both start and end are included. [start, end]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.