9
Functional Style Programming – Extending APIs
This chapter includes 24 problems covering a wide range of functional programming topics. We will start by introducing the JDK 16 mapMulti()
operation, and continue with a handful of problems for working with predicates (Predicate
), functions, and collectors.
If you don’t have a background in functional programming in Java, then I strongly recommend you postpone this chapter until you have spent some time getting familiar with it. You could consider reading Chapters 8 and 9 from Java Coding Problems, First Edition.
At the end of this chapter, you’ll be deeply skilled in functional programming in Java.
Problems
Use the following problems to test your programming prowess in functional programming ...
Get Java Coding Problems - 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.