**Summary** __Java 8 in Action__ is a clearly written guide to the new features of Java 8. The book covers lambdas, streams, and functional-style programming. With Java 8's functional features you can now write more concise code in less time, and also automatically benefit from multicore architectures. It's time to dig in! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. **About the Book** 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. **What's Inside** * How to use Java 8's powerful new features * Writing effective multicore-ready applications * Refactoring, testing, and debugging * Adopting functional-style programming * Quizzes and quick-check questions **About the Authors** **Raoul-Gabriel Urma** is a software engineer, speaker, trainer, and PhD candidate at the University of Cambridge. **Mario Fusco** is an engineer at Red Hat and creator of the lambdaj library. **Alan Mycroft** is a professor at Cambridge and cofounder of the Raspberry Pi Foundation. **Table of Contents** ## PART 1 FUNDAMENTALS 2. Java 8: why should you care? 3. Passing code with behavior parameterization 4. Lambda expressions ## PART 2 FUNCTIONAL-STYLE DATA PROCESSING 6. Introducing streams 7. Working with streams 8. Collecting data with streams 9. Parallel data processing and performance## PART 3 EFFECTIVE JAVA 8 PROGRAMMING 10. Refactoring, testing, and debugging 11. Default methods 12. Using Optional as a better alternative to null 13. CompletableFuture: composable asynchronousprogramming 14. New Date and Time API ## PART 4 BEYOND JAVA 8 16. Thinking functionally 17. Functional programming techniques 18. Blending OOP and FP: comparing Java 8 and Scala 19. Conclusions and where next for Java ## APPENDIXES 21. Miscellaneous language updates 22. Miscellaneous library updates 23. Performing multiple operations in parallelon a stream 24. Lambdas and JVM bytecode "A great and concise guide to what's new in Java8, with plenty of examples to get you going in a hurry." Jason Lee, Oracle Java 8 in Action is a clearly written guide to the 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. With Java 8's functional features you can now write more concise code in less time, and also automatically benefit from multicore architectures. It's time to dig in! Inside: How to use Java 8's powerful features Writing effective multicore-ready applications Refactoring, testing, and debugging Adopting functional-style programming Quizzes and quick-check questions This book/course is made for programmers familiar with Java and basic OO programming. Raoul-Gabriel Urma is a software engineer, speaker, trainer, and PhD candidate at the University of Cambridge. Mario Fusco is an engineer at Red Hat and creator of the lambdaj library. Alan Mycroft is a professor at Cambridge and cofounder of the Raspberry Pi Foundation. The best guide to Java8 that will ever be written! William Wheeler, ProData Computer Systems The new Streams API and lambda examples are especially useful. Steve Rogers, CGTek, Inc. A must-have to get functional with Java 8. Mayur S. Patil, MIT Academy of Engineering NARRATED BY EZRA SIMELOFF Java 8 in Action is a clearly written guide to to the new features of Java 8. The book covers lambdas, streams, and functional-style programming. With Java 8's functional features you can now write more concise code in less time, and also automatically benefit from multicore architectures. It's time to dig in! Summary About the Book 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. What's Inside How to use Java 8's powerful new features Writing effective multicore-ready applications Refactoring, testing, and debugging Adopting functional-style programming Quizzes and quick-check questions About the Authors Raoul-Gabriel Urma is a software engineer, speaker, trainer, and PhD candidate at the University of Cambridge. Mario Fusco is an engineer at Red Hat and creator of the lambdaj library. Alan Mycroft is a professor at Cambridge and cofounder of the Raspberry Pi Foundation.