Streams
Use stream operations to express sophisticated data processing queries.
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 |
✔️ |
✔️ |