Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Java Lambdas!
You have completed Java Lambdas!
Preview
Lambdas are anonymous functions and are new to Java 8.
Read more
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Most editors keep themselves pinned to
a current language level just to make sure
0:00
that others using your code know
what they can and can't use.
0:03
So, let's check it out.
0:06
So if we go File > Project Structure,
and here under Project,
0:08
you'll see the project language level.
0:12
And just like I thought,
it was limited to seven.
0:16
So let's go ahead and
let's flip that to eight.
0:19
And we'll click OK.
0:21
You'll notice now that
this turned gray here.
0:23
Then what this is saying,
0:25
is it's saying that the new comparator
book can be replaced with a lambda.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up