Functional Flashcards
1
Q
Du you can turn a collect into a stream.
A
Yes bu this shouldn’t be done in the same sentence.
2
Q
Stream intermediate operations
A
map
filter
sorted
anyMatch
distinct
findFirst
flatMap
skip
3
Q
Stream Terminal operations
A
Collect
forEach
Reduce
4
Q
Stream Reduce operations
A
count
max
min
reduce
sumaryStatistics