returns the stream collected into an array (90% use-case abbreviation
Collect the elements with a collector given There are a number of collectors provided
Iterate over all elements in the stream and do some processing via fn
takes a single element and if it returns false then further processing is stopped
Perform the operation fn on a single element in the stream at a time then pass the stream over for further processing This is basically an intermediate point in the stream with further processing happening later, do not use this method to gather data or iterate over all date for processing (for the second case each has to be used)
the processing function, if it returns false, further processing is stopped
functional reduce... takes two elements in the stream and reduces to one from left to right
the reduction function for instance (val1,val2) => val1l+val2
an optional starting value, if provided the the processing starts with this element and further goes down into the stream, if not, then the first two elements are taken as reduction starting point
Generated using TypeDoc
Generic interface defining a stream