The Ready-Made Lambda Toolkit¶
☕ Java 17
You don't need to write your own functional interfaces for everyday jobs: java.util.function ships dozens of them. Here you'll learn the core ones, how to pick the right one, how to combine them, and the primitive versions that avoid boxing.
In this series¶
| # | Page | Reading time |
|---|---|---|
| 1 | Supplier, Consumer, Predicate, Function | 4 min |
| 2 | Combining filters and chaining functions | 3 min |
| 3 | Primitive versions: no boxing needed | 3 min |
| 4 | Lab: filtering and labeling the catalog | 3 min |
🎓 OCP 1Z0-829 candidates: exam traps and practice questions (optional)
Prerequisites: Passing Methods Around by Name.