Pro Java Closures and Project Lambda introduces you to significant new changes to the Java language coming out of what is termed Project Lambda. These new changes make their debut in Java 8, and their highlight is the long-awaited support for lambda expressions in the Java language.
You'll learn to write lambda expressions and use them to create functional interfaces and default methods for evolving APIs, among many other uses. Java language designer Daniel Smith states the goals of Project Lambda as being to make dramatic and necessary enhancements to the programming model, smooth out rough edges in the language, preserve compatibility, all while maintaining the essence of the Java language as you've come to know it.
The changes in Java 8 are significant. Syntax and usage of the language are changed considerably with the introduction of closures and lambda expressions. Pro Java Closures and Project Lambda takes you through these important changes from introduction to mastery. Through a set of clear examples, you'll learn to refactor existing code to take advantage of the new language features. You'll learn what those features can do for you, and when they are best applied. You'll learn to design and write new code having these important new features in mind from the very beginning.