Java Lambdas and Parallel Streams

  • 50m
  • Michael Müller
  • Apress
  • 2016

This compact book introduces the concepts of Java lambdas and parallel streams in a concise form. It begins by introducing new supporting features such as functional interfaces, default methods and more. After this, the author demonstrates how streams can be parallelized in a very simple way―within certain limits, no knowledge about the thread management is needed. Nevertheless, some basic elements in the context of parallelism need to be considered. Here, the book provides a variety of information and best practices.

What You Will Learn

  • Master lambdas and streams
  • Work with the default method
  • Harness streams and the stream() function
  • Use Stream and Spliterator
  • Take advantage of parallel streams
  • Work with collectors and concurrency

Who This Book Is For

Experienced Java programmers and developers.

In this Book

  • Introduction
  • The Data
  • First Analysis—From Naive to Flexible
  • Lambda Expressions
  • Default Method
  • Optional
  • Make the Acquaintance of Streams
  • stream(), Stream and Spliterator
  • Parallel Stream
  • Collector and Concurrency
  • Grouping Collector
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.7 of 28 users Rating 4.7 of 28 users (28)
Rating 4.6 of 62 users Rating 4.6 of 62 users (62)
Rating 4.6 of 47 users Rating 4.6 of 47 users (47)