Documentation
stream.First
Returns the first element in the stream
stream.Last
Returns the last element in the stream
stream.At
Returns the element in the stream in the given position
stream.Add
Add a new element in the stream
stream.Drop
Drop an element from the stream
stream.Contains
Check if the given element is found in the stream
stream.Count
Return the number of elements in the stream
stream.Filter
Discard those elements in the stream that do not match with the given filter
stream.Reduce
Reduces the stream to a single value by executing a provided function for each value of the stream
stream.Map
Convert the current elements in the stream into a different type
stream.ForEach
Do something over all the elements in the stream
stream.Sort
Sort the elements in the stream
stream.RemoveDuplicates
Remove duplicated elements in the stream
stream.Compose
Join 2 or more streams in a single one