1.

Record Nr.

UNINA9910154842403321

Autore

Müller Michael

Titolo

Java Lambdas and Parallel Streams [[electronic resource] /] / by Michael Müller

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2016

ISBN

9781484224878

Edizione

[1st ed. 2016.]

Descrizione fisica

1 online resource (XI, 87 p. 18 illus., 9 illus. in color.)

Disciplina

005.133

Soggetti

Java (Computer program language)

Programming languages (Electronic computers)

Java

Programming Languages, Compilers, Interpreters

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

1. Introduction -- 2. The data -- 3. First analysis - from naive to flexible -- 4. Lambda expressions -- 5. Default method -- 6. Optional -- 7. Make the acquaintance of Streams -- 8. stream (), Stream and Spliterator -- 9. Parallel Stream -- 10. Collector and Concurrency -- 11. Appendix.

Sommario/riassunto

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>.