Appendix B. Recap of streams in Java 8
This appendix is a refresher on Java 8 streams and the aspects of basic functional programming that are associated with them. If you are not familiar with the basic syntax of Java 8 lambda expressions, or the philosophy that underlies their design, you should read a basic text first to familiarize yourself with those concepts, such as Modern Java in Action: Lambdas, Streams, Functional and Reactive Programming, 2nd ed., by Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft (Manning, 2018). Java 8 introduced lambda expressions as part of Project Lambda, the overall goals of which can be summarized as follows:
-
Allow developers to write cleaner and more concise code.
-
Provide a modern upgrade to the Java ...
Get The Well-Grounded Java Developer, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.