CHAPTER 6
Java Stream API
Certification Objectives |
---|
Develop code to extract data from an object using peek() and map() methods including primitive versions of the map() method |
Search for data by using search methods of the Stream classes including findFirst, findAny, anyMatch, allMatch, noneMatch |
Develop code that uses the Optional class |
Develop code that uses Stream data methods and calculation methods |
Sort a collection using Stream API |
Save results to a collection using the collect method and group/partition data using the Collectors class |
Use flatMap() methods in the Stream API |
In this chapter, we discuss the most important addition to the ...
Get Oracle Certified Professional Java SE 8 Programmer Exam 1Z0-809: A Comprehensive OCPJP 8 Certification Guide 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.