Common stream operations

Report a typo

Any stream operations can be intermediate or terminal. The first is always lazy and return a new stream, the second is not lazy and return a value or produce a side-effect.

Distribute stream operations on these groups.

Choose one option for each row
IntermediateTerminal
map
max
skip
filter
reduce
limit
sorted
collect
average (LongStream)
distinct
anyMatch
count
___

Create a free account to access the full topic