Java Lambdas and Parallel Streams
Authors: Michael Müller
A compact and handy guide to Java streams and lambdas
Shows readers how to use Stream and Spliterator
Author has more than 30 years experience coding
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
Table of contents
Front Matter
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
GroupingCollector
Back Matter
原版 PDF + EPUB:
本帖隐藏的内容
原版 PDF:
PDF 压缩包:
EPUB:
EPUB 压缩包:
PDF + EPUB 压缩包: