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 APIs, Extensions and Libraries: With JavaFX, JDBC, jmod, jlink, Networking, and the Process API
This book completes the Apress Java learning journey and is a comprehensive approach to learning Java …
book
Client-Server Web Apps with JavaScript and Java
As a Java programmer, how can you tackle the disruptive client-server approach to web development? With …
book
Java Programming 24-Hour Trainer, 2nd Edition
Quick and painless Java programming with expert multimedia instruction Java Programming 24-Hour Trainer, 2nd Edition is …
book
Java EE 8 Development with Eclipse
Develop and deploy fully functional applications and microservices utilising Tomcat, Glassfish servers, Cloud and docker in …