Java Lambdas and Parallel Streams - Michael Müller

Java Lambdas and Parallel Streams (eBook)

(Autor)

eBook Download: PDF
2016 | 1st ed.
XI, 87 Seiten
Apress (Verlag)
978-1-4842-2487-8 (ISBN)
Systemvoraussetzungen
22,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
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.



Michael Müller is an IT professional with more than 30 years of experience including about 25 years in the healthcare sector. During this time, he has worked in different areas, especially project and product management, consulting, and software development. During a couple of Software development project, he also could gain intensive international experience.

Currently, he is the head of software development at the German DRG institute inek.org. In this role, he is responsible for Web applications as well as other Java and .NET projects. Web projects are preferably built with Java technologies such as JSF with the help of supporting languages like JavaScript.

Michael has a strong experience using lambda statements the .Net environment (LINQ with C#). Beginning with Java 8, he finally can use similar powerful features with Java.

Michael is a JSF professional user and a member of the JSR 344 and JSR 372 (JSF) expert groups. His first book Web Development with Java and JSF consequential deals with this Java web technology.

He frequently reads books and writes reviews as well as technical papers, which are mostly published in German-printed magazines and on his website.

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 LearnMaster lambdas and streamsWork with the default methodHarness streams and the stream() function Use Stream and SpliteratorTake advantage of parallel streamsWork with collectors and concurrencyWho This Book Is ForExperienced Java programmers and developers.div>

Michael Müller is an IT professional with more than 30 years of experience including about 25 years in the healthcare sector. During this time, he has worked in different areas, especially project and product management, consulting, and software development. During a couple of Software development project, he also could gain intensive international experience.Currently, he is the head of software development at the German DRG institute inek.org. In this role, he is responsible for Web applications as well as other Java and .NET projects. Web projects are preferably built with Java technologies such as JSF with the help of supporting languages like JavaScript.Michael has a strong experience using lambda statements the .Net environment (LINQ with C#). Beginning with Java 8, he finally can use similar powerful features with Java.Michael is a JSF professional user and a member of the JSR 344 and JSR 372 (JSF) expert groups. His first book Web Development with Java and JSF consequential deals with this Java web technology.He frequently reads books and writes reviews as well as technical papers, which are mostly published in German-printed magazines and on his website.

1. Inroduction1.1 Lambdas and (Parallel) Streams1.2 The challenge1.3 The solution1.4 A first explanation2. The data3. First analysis - from naive to flexible3.1 Fix filter3.2 Simple parameterization3.3 Behavior parameterization3.4 Anonymous classes4. Lambda expressions4.1 Functional interface4.2 Lambda notation4.3 Lazy evaluation4.4 Summary5. Default method5.1 The problem5.2 Solution - The Java way5.3 Rules to choose a default method5.4 Summary6. Optional7. Make the acquaintance of Streams7.1 Examples7.2 Parallel processing7.3 Summary8. stream(), Stream and Spliterator8.1 Stream8.2 Spliterator8.3 Summary9. Parallel Stream9.1 Summary10. Collector and Concurrency10.1 Java concurrency10.2 Collect10.3 Summary11. Additional chaptersAppendixProgram to create the demo dataBasic dataArticlePersonsOther classesDemo programNotes

Erscheint lt. Verlag 30.11.2016
Zusatzinfo XI, 87 p. 18 illus., 9 illus. in color.
Verlagsort Berkeley
Sprache englisch
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Informatik Software Entwicklung Objektorientierung
Informatik Software Entwicklung Spieleprogrammierung
Mathematik / Informatik Informatik Web / Internet
Schlagworte Java • java concurrency • lambdas • parallel streams • spliterator
ISBN-10 1-4842-2487-6 / 1484224876
ISBN-13 978-1-4842-2487-8 / 9781484224878
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 2,7 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich