Описание: 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 streamsWork with the default methodHarness streams and the stream() function Use Stream and SpliteratorTake advantage of parallel streamsWork with collectors and concurrency
Who This Book Is ForExperienced Java programmers and developers.
div>
Дополнительное описание: 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