Book description
Java Closures and 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.
The changes in Java 8 are significant. Syntax and usage of the language are changed considerably with the introduction of closures and lambda expressions. This book 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.
Table of contents
- Cover
- Title
- Copyright
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Java 8: It’s a Whole New Java
- Chapter 2: Understanding Lambdas in Java 8
- Chapter 3: Lambda’s Domain: Collections, Maps, and Streams
- Chapter 4: I/O with Lambdas
- Chapter 5: Data Access with Lambdas
- Chapter 6: Lambda Concurrency
- Chapter 7: Lambdas and Legacy Code
- Chapter 8: Lambdas in Java Bytecode
- Appendix A: A Tour of Paradigms
- Index
Product information
- Title: Java Closures and Lambda
- Author(s):
- Release date: March 2015
- Publisher(s): Apress
- ISBN: 9781430259992
You might also like
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …
video
Full Stack Web Development Mastery Course - Novice to Expert
Full stack development refers to the development of both frontend (client-side) and backend (server-side) portions of …
book
Java Challenges: 100+ Proven Tasks that Will Prepare You for Anything
Expand your knowledge of Java with this entertaining learning guide, which features 100+ exercises and programming …
book
The Complete Coding Interview Guide in Java
Explore a wide variety of popular interview questions and learn various techniques for breaking down tricky …