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>
Les mer
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.
Les mer
A compact and handy guide to Java streams and lambdas Shows you how to use Stream and Spliterator Author has more than 30 years' experience coding
GPSR Compliance The European Union's (EU) General Product Safety Regulation (GPSR) is a set of rules that requires consumer products to be safe and our obligations to ensure this. If you have any concerns about our products you can contact us on ProductSafety@springernature.com. In case Publisher is established outside the EU, the EU authorized representative is: Springer Nature Customer Service Center GmbH Europaplatz 3 69115 Heidelberg, Germany ProductSafety@springernature.com
Les mer

Produktdetaljer

ISBN
9781484224861
Publisert
2016-12-02
Utgiver
Vendor
Apress
Høyde
203 mm
Bredde
127 mm
Aldersnivå
Professional/practitioner, P, 06
Språk
Product language
Engelsk
Format
Product format
Heftet

Forfatter

Om bidragsyterne

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.