Use stream operations to express sophisticated data processing queries.
- from
java.util.Collection
,java.util.Map
, Array,java.lang.String
- of one element or varargs
- of range from
n
tom
- just
empty
function | implement | tested |
---|---|---|
for each | ✔️ | ✔️ |
map | ✔️ | ✔️ |
filter | ✔️ | ✔️ |
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 |
✔️ | ✔️ |
function | implement | tested |
---|---|---|
custom | ✔️ | ✔️ |
to list | ✔️ | ✔️ |
to group | ✔️ | ✔️ |