8
Lambda Expressions and Functional Interfaces
CERTIFICATION OBJECTIVES
• Create and Use Lambda Expressions
• Iterate Using forEach Methods of Streams and List
• Use Method References with Streams
• Use the Built-in Interfaces Included in the java.util.function Package such as Predicate, Consumer, Function, and Supplier
• Develop Code That Uses Primitive Versions of Functional Interfaces
• Develop Code That Uses Binary Versions of Functional Interfaces
• Develop Code That Uses the UnaryOperator Interface
Two-Minute Drill
Q&A Self Test
One of the big new language features added in Java 8 is the lambda ...
Get OCP Java SE 8 Programmer II Exam Guide (Exam 1Z0-809), 7th 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.