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
Java Lambdas and Parallel Streams
β Scribed by Michael MΓΌller (auth.)
- Publisher
- Apress
- Year
- 2016
- Tongue
- English
- Leaves
- 91
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
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.
div>
β¦ Table of Contents
Front Matter....Pages i-xi
Introduction....Pages 1-3
The Data....Pages 5-6
First AnalysisβFrom Naive to Flexible....Pages 7-12
Lambda Expressions....Pages 13-18
Default Method....Pages 19-24
Optional....Pages 25-27
Make the Acquaintance of Streams....Pages 29-34
stream(), Stream and Spliterator....Pages 35-40
Parallel Stream....Pages 41-45
Collector and Concurrency....Pages 47-60
GroupingCollector....Pages 61-67
Back Matter....Pages 69-87
β¦ Subjects
Java;Programming Languages, Compilers, Interpreters
π SIMILAR VOLUMES
<div>Manning's bestselling Java 8 book has been revised for Java 9 and Java 10! In <i>Modern Java in Action</i>, readers build on their existing Java language skills with the newest features and techniques.<br> The release of Java 9 builds on what made Java 8 so exciting. In addition to Java 8's lam
<span><p><em>Java 8 in Action</em> is a clearly written guide to to the new features of Java 8. The book covers lambdas, streams, and functional-style programming. With Java 8βs functional features you can now write more concise code in less time, and also automatically benefit from multicore ar
xxviii, 394 pages : 24 cm