Mastering Lambdas: Java Programming in a Multicore World

  • 2h 38m
  • Maurice Naftalin
  • Oracle Press
  • 2015

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

About the Author

Maurice Naftalin has over 30 years' experience in IT – as developer, designer, architect, manager, teacher, and author. He is a certified Java Programmer and has worked in every release of Java to date. Naftalin’s experience in Java and business give him a unique perspective on the fundamental change that comes with introducing Lambda expressions in Java. He is a frequent presenter at conferences worldwide, including the annual JavaOne.

In this Book

  • Mastering Lambdas—Java Programming in a Multicore World
  • Foreword
  • Introduction
  • Taking Java to the Next Level
  • The Basics of Java Lambda Expressions
  • Introduction to Streams and Pipelines
  • Ending Streams: Collection and Reduction
  • Starting Streams: Sources and Spliterators
  • Stream Performance
  • API Evolution with Default Methods
  • Conclusion
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE