What this book covers
This book takes an in-depth look at lambdas and their supporting features; things like functional interfaces and type inference.
After reading the book, you'll:
- Have an overview of new features in modern Java
- Understand lambdas in-depth, their background, syntax, implementation details and how and when to use them
- Understand the difference between functions to classes and why that's relevant to lambdas
- Understand the difference between lambdas and closures
- Appreciate the improvements to type inference that drive a lot of the new features
- Be able to use method references and understand scoping and "effectively final"
- Understand the differences in bytecode produced when using lambdas
- Be able to reason about exceptions and exception handling best practice when using lambdas