Java 8 Lambdas


If you’re a developer with core Java SE skills, this hands-on book takes you through the language changes in Java 8 triggered by the addition of lambda expressions. You’ll learn through code examples, exercises, and fluid explanations how these anonymous functions will help you write simple, clean, library-level code that solves business problems.

Lambda expressions are a fairly simple change to Java, and the first part of the book shows you how to use them properly. Later chapters show you how lambda functions help you improve performance with parallelism, write simpler concurrent code, and model your domain more accurately, including building better DSLs.

  • Use exercises in each chapter to help you master lambda expressions in Java 8 quickly
  • Explore streams, advanced collections, and other Java 8 library improvements
  • Leverage multicore CPUs and improve performance with data parallelism
  • Use techniques to “lambdify” your existing codebase or library code
  • Learn practical solutions for lambda expression unit testing and debugging
  • Implement SOLID principles of object-oriented programming with lambdas
  • Write concurrent applications that efficiently perform message passing and non-blocking I/O

Table of Contents
Chapter 1. Introduction
Chapter 2. Lambda Expressions
Chapter 3. Streams
Chapter 4. Libraries
Chapter 5. Advanced Collections and Collectors
Chapter 6. Data Parallelism
Chapter 7. Testing, Debugging, and Refactoring
Chapter 8. Design and Architectural Principles
Chapter 9. Lambda-Enabled Concurrency
Chapter 10. Moving Forward

Book Details

  • Paperback: 150 pages
  • Publisher: O’Reilly Media (March 2014)
  • Language: English
  • ISBN-10: 1449370772
  • ISBN-13: 978-1449370770
Download [7.9 MiB]

You may also like...

Leave a Reply