Overview
Syllabus
Intro
Maurice Naftalin
The Lambda FAQ
Ideas in the Stream API
Example Domain
Pipes and Filters in Java
Sources – sequential streams
Intermediate Operations
filter()
map()
peek()
flatMap Tolnt()
Sinks - sequential streams
Parallelism
Automated Resource Management
Retooling
Seriously, No More Accumulators??
Simple Example – Summation
Reduction of Primitives
Reduction of Mutable Objects?
Using the Predefined Collectors
toMap(Function keyMapper, Function valueMapper)
groupingBy(Function classifier) Uses the classifier function to make a classification mapping
groupingBy(Function)
Concurrent Collection
Writing a Collector
Sources - parallel streams
Visualizing Stream Operations
What Does Parallel-Ready Mean?
So, Is Your Code Parallel-Ready?
Using Streams Sanely Rules in the JavaDoc for java.util.stream
Conclusion
Taught by
ChariotSolutions