
Java 8 in Action: Lambdas, Streams, and functional-style programming
Lambdas, Streams, and functional-style programming
by Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft
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
- Java 8: why should you care?
- Passing code with behavior parameterization
- Lambda expressions
- Introducing streams
- Working with streams
- Collecting data with streams
- Parallel data processing and performance
PART 3 EFFECTIVE JAVA 8 PROGRAMMING
- Refactoring, testing, and debugging
- Default methods
- Using Optional as a better alternative to null
- CompletableFuture: composable asynchronousprogramming
- New Date and Time API
- Thinking functionally
- Functional programming techniques
- Blending OOP and FP: comparing Java 8 and Scala
- Conclusions and where next for Java
- Miscellaneous language updates
- Miscellaneous library updates
- Performing multiple operations in parallelon a stream
- Lambdas and JVM bytecode
PART 1 FUNDAMENTALS
PART 2 FUNCTIONAL-STYLE DATA PROCESSING
PART 4 BEYOND JAVA 8
APPENDIXES
Discuss Java 8 in Action: Lambdas, Streams, and functional-style programming with other readers
Join or start a book club for Java 8 in Action: Lambdas, Streams, and functional-style programming on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.
Frequently asked questions
How do I join a book club for Java 8 in Action: Lambdas, Streams, and functional-style programming?
Sign up free on Readfeed, then browse public clubs or start your own club with Java 8 in Action: Lambdas, Streams, and functional-style programming as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.
Can I discuss Java 8 in Action: Lambdas, Streams, and functional-style programming with other readers online?
Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Java 8 in Action: Lambdas, Streams, and functional-style programming with readers worldwide — whether your club is virtual, in-person, or hybrid.
Is Readfeed free?
Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.