Session
Functional Programming with Java's Stream API
This workshop expands on the basics of Java Lambdas and the Stream API. In this workshop, we will go beyond the introduction and basic mechanics of Lambdas and dive deeper into the variety of intermediate and terminal operations and how each of them have multiple overridden implementations within the API (and why).
During this workshop, we will build a functional Spring MVC Restful web service to demonstrate how to apply the different operations, such as:
* filter
* map
* flatMap
* reduce
* sorted
* forEach
* collect
* allMatch
* anyMatch
* count
* findAny
* findFirst
* distinct
* limit
* skip
* toArray
The review of these operations will focus on the following:
* the difference between intermediate operations and terminal operations
* which operations are short-circuiting operations
* why some operations are stateful
* what it means for some terminal operations to return an Optional
Jim McLaughlin
Lead Technical Architect @ YRC Worldwide
Kansas City, Missouri, United States
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top