Urma, Raoul-Gabriel.

Java 8 in action : lambdas, streams, and functional-style programming / Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft. - xxviii, 394 pages : illustrations ; 24 cm.

Part 1 Fundamentals -- Chapter 1 Java 8: why should you care? -- Chapter 2 Passing code with behavior parameterization -- Chapter 3 Lambda expressions -- Part 2 Functional-style data processing -- Chapter 4 Introducing streams -- Chapter 5 Working with streams -- Chapter 6 Collecting data with streams -- Chapter 7 Parallel data processing and performance -- Part 3 Effective Java 8 programming -- Chapter 8 Refactoring, testing, and debugging -- Chapter 9 Default methods -- Chapter 10 Using Optional as a better alternative to null -- Chapter 11 CompletableFuture: composable asynchronous programming -- Chapter 12 New Date and Time API -- Part 4 Beyond Java -- Chapter 13 Thinking functionally -- Chapter 14 Functional programming techniques -- Chapter 15 Blending OOP and FP: comparing Java 8 and Scala -- Chapter 16 Conclusions and where next for Java -- appendix A Miscellaneous language updates -- appendix B Miscellaneous library updates -- appendix C Performing multiple operations in parallel on a stream --appendix D Lambdas and JVM bytecode.

Every new version of Java is important, but Java 8 is a game changer. Java 8 in Action is a clearly written guide to the new features of Java 8. It begins with a practical introduction to lambdas, using real-world Java code. Next, it covers the new Streams API and shows how you can use it to make collection-based code radically easier to understand and maintain. It also explains other major Java 8 features including default methods, Optional, CompletableFuture, and the new Date and Time API. This book is written for programmers familiar with Java and basic OO programming. -- Provided by publisher.

9781617291999 (pbk.) 1617291994 (pbk.)

GBB487848 bnb


Java (Computer program language)



681.3 U 54