collect()
collect(mixed $args) : \LazyCollection\Stream
Collect the spread arguments into a stream
Parameters
mixed | $args |
collect(mixed $args) : \LazyCollection\Stream
Collect the spread arguments into a stream
mixed | $args |
stream(\LazyCollection\iterable $it) : \LazyCollection\Stream
Wrap the given iterable into a stream
\LazyCollection\iterable | $it |
|
infiniteRange( $start, $step) : \LazyCollection\Stream
Create an infinite range
$start |
|
|
$step |
|
range(integer $begin, integer|null $end = null, integer $step = 1) : \LazyCollection\Stream
Create a range of integers
integer | $begin |
|
integer|null | $end |
|
integer | $step |
|
splitBy(string $str, string $separator = "", boolean $removeEmptyStrings = true) : \LazyCollection\Stream
Make a stream by splitting a string in parts
string | $str |
|
string | $separator |
|
boolean | $removeEmptyStrings |
|
splitByRegex(string $str, string $re, boolean $removeEmptyStrings = true) : \LazyCollection\Stream
Make a stream by splitting a string in parts using a regular expression
string | $str |
|
string | $re |
|
boolean | $removeEmptyStrings |
|