Book description
The Definitive Guide to Lambda Expressions
Mastering Lambdas: Java Programming in a Multicore World describes how the lambda-related features of Java SE 8 will enable Java to meet the challenges of next-generation parallel hardware architectures. The book explains how to write lambdas, and how to use them in streams and in collection processing, providing code examples throughout. You'll learn how to use lambda expressions to take full advantage of performance improvements provided by today's multicore hardware. This Oracle Press book covers:
- Why lambdas were needed, and how they will change Java programming
- Syntax of lambda expressions
- The basic operation of streams and pipelines
- Using collectors and reduction to end pipelines
- Creating streams
- Spliterators, the fork/join framework, and exceptions
- Examining stream performance with microbenchmarking
- API evolution using default methods
Table of contents
- Cover
- Title Page
- Copyright Page
- Dedication
- Contents
- Foreword
- Acknowledgments
- Introduction
- 1 Taking Java to the Next Level
- 2 The Basics of Java Lambda Expressions
- 3 Introduction to Streams and Pipelines
- 4 Ending Streams: Collection and Reduction
- 5 Starting Streams: Sources and Spliterators
- 6 Stream Performance
- 7 API Evolution with Default Methods
- Conclusion
- Index
Product information
- Title: Mastering Lambdas
- Author(s):
- Release date: October 2014
- Publisher(s): McGraw Hill Computing
- ISBN: 9780071829632
You might also like
book
Learning Java Lambdas
Understand and utilize Java Lambdas About This Book Take a deep dive into one of the …
book
Java 8 Lambdas
If you’re a developer with core Java SE skills, this hands-on book takes you through the …
book
Functional Programming in Java
Functional Programming in Java teaches Java developers how to incorporate the most powerful benefits of functional …
book
Functional Programming in Java
Get ready to program in a whole new way. Functional Programming in Java will help you …