Overview
Syllabus
Why Java 8
Safety checks
Refactoring to Lambda expressions
Performance of Lambda expressions
Designing for Lambda expressions
Refactoring “for” loop to Stream.forEach
Readability and performance: Stream.forEach vs “for” loop
Refactoring “for” loop to Stream.collect
Readability and performance: Stream.collect vs “for” loop
Collapsing multiple operations
Readability and performance: multiple operations
Refactoring “for” loop to Stream.anyMatch
Readability and performance: “for” loop vs Stream.anyMatch
Refactoring “for” loop to Stream.findFirst
Readability and performance: “for” loop vs Stream.findFirst
Refactoring to Collection.removeIf
Readability and performance: Collection.removeIf
Summary of findings
Q & A
Taught by
IntelliJ IDEA by JetBrains