![Download](https://camo.githubusercontent.com/38793da7a7f2588d76d5acc1e4bc68a7f9534dd7aab9aa3421e09ddc54fd09e0/68747470733a2f2f6170692e62696e747261792e636f6d2f7061636b616765732f73746e6c70726a6374732f746f6f6c732f73747265616d732f696d616765732f646f776e6c6f61642e737667)
Streams
Use stream operations to express sophisticated data processing queries.
![](media/icon.png)
Now you can create a stream:
- from
java.util.Collection
, java.util.Map
, Array, java.lang.String
- of one element or varargs
- of range from
n
to m
- just
empty
Basic functions
function |
implement |
tested |
for each |
✔️ |
✔️ |
map |
✔️ |
✔️ |
filter |
✔️ |
✔️ |
Sorting features
function |
implement |
tested |
🔍 find first after sorting |
✔️ |
✔️ |
🔍 find last after sorting |
✔️ |
✔️ |
✂️ cut from n to m after sorting |
✔️ |
✔️ |
✂️ cut n from head after sorting |
✔️ |
✔️ |
✂️ cut n from tail after sorting |
✔️ |
✔️ |
Collect feature
function |
implement |
tested |
custom |
✔️ |
✔️ |
to list |
✔️ |
✔️ |
to group |
✔️ |
✔️ |