In this book, you will discover how the seemingly minor changes that introduce lambda expressions make this possible. You will learn how lambda expressions enable you to write a Java function in a single line of code, and how to use this capability to program the new Stream API, condensing verbose collection processing code into simple and readable stream programs. Studying the mechanisms that create and consume streams will lead to an analysis of their performance and enable you to judge when to invoke the parallel execution features of the API.
2019-12-21 19:32:50 11.72MB java
1