Lambda Expressions and the Stream API in Java 8

Lambda expressions have finally come to Java, allowing behavior to be assigned to variables and passed into methods as well as data.  We'll have a look at the syntax for lambda expressions, see how they can replace anonymous inner classes, and experiment with the various functional interfaces provided in the standard library.
Using lambda expressions, the new Stream API for Collections allows developers to break out of the traditional, imperative, 'for/while' style of collection manipulation in favor of a syntax that is far more expressive and intentional.  We'll take a quick look at how we can replace basic looping constructs with streams before moving on to producing more complex data manipulations using dynamic strategies.  Finally, we'll see how we can reduce execution times by taking advantage of the native concurrency features of the stream API.

About the Speaker

Noah Kriegel works at ThoughtWorks, and serves as the Market Technical Principal for the SouthEast. He has been an IT consultant in various industries for the last 16 years and a software developer for the last 20.


Join or login to comment.

People in this
Meetup are also in:

Create your own Meetup Group

Get started Learn more
Katie

I'm surprised by the level of growth I've seen since becoming an organizer, it's given me more confidence in my abilities.

Katie, started NYC ICO

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy