Java Lambdas and Parallel Streams Front Cover

Java Lambdas and Parallel Streams

  • Length: 87 pages
  • Edition: 1st ed.
  • Publisher:
  • Publication Date: 2016-12-30
  • ISBN-10: 1484224868
  • ISBN-13: 9781484224861
  • Sales Rank: #3250251 (See Top 100 Books)
Description

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’ll learn

  • What are lambdas and streams and how to use them
  • What is the default method
  • What are streams, the stream() function
  • How to use Stream and Spliterator
  • How to use parallel streams
  • How to do collectors and concurrency

Who is this book for

This book is for experienced Java programmers and developers.

Table of Contents

Chapter 1: Introduction
Chapter 2: The Data
Chapter 3: First Analysis—From Naive to Flexible
Chapter 4: Lambda Expressions
Chapter 5: Default Method
Chapter 6: Optional
Chapter 7: Make the Acquaintance of Streams
Chapter 8: stream(), Stream and Spliterator
Chapter 9: Parallel Stream
Chapter 10: Collector and Concurrency
Chapter 11: Grouping Collector
Appendix A: Program to Create the Demo Data

To access the link, solve the captcha.