Quick Start
Get started in just a few seconds!
Last updated
Stream.of([1, 2, 3]) # Can return a sequential or a parallel streamStream.parallel_of([1, 2, 3]) # Returns a parallel stream (Either normal or numeric)Stream.sequential_of([1, 2, 3]) # Returns a sequential stream (Either normal or numeric)# Can return a sequential or a parallel stream (Either normal or numeric)
Stream.of_noneable([1, 2, 3])
# Returns a sequential or a parallel, empty stream (Either normal or numeric)
Stream.of_noneable(None) Stream.iterate(0, lambda n: n + 2)Stream.concat(Stream.of([1, 2]), Stream.of([3, 4]))
# Like Stream.of([1, 2, 3, 4])