Java Lambdas and Parallel Streams

  • Michael Müller

Table of contents

  1. Front Matter
    Pages i-xi
  2. Michael Müller
    Pages 1-3
  3. Michael Müller
    Pages 5-6
  4. Michael Müller
    Pages 7-12
  5. Michael Müller
    Pages 13-18
  6. Michael Müller
    Pages 19-24
  7. Michael Müller
    Pages 25-27
  8. Michael Müller
    Pages 29-34
  9. Michael Müller
    Pages 35-40
  10. Michael Müller
    Pages 41-45
  11. Michael Müller
    Pages 47-60
  12. Michael Müller
    Pages 61-67
  13. Back Matter
    Pages 69-87

About this book

Introduction

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>

Keywords

java lambdas parallel streams java concurrency spliterator

Authors and affiliations

  • Michael Müller
    • 1
  1. 1.BrühlGermany

Bibliographic information

  • DOI https://doi.org/10.1007/978-1-4842-2487-8
  • Copyright Information Michael Müller 2016
  • Publisher Name Apress, Berkeley, CA
  • eBook Packages Professional and Applied Computing
  • Print ISBN 978-1-4842-2486-1
  • Online ISBN 978-1-4842-2487-8
  • About this book