- Duration: 46m 5s
- Skill Level: Intermediate
- Released: November 16, 2016
- Viewers: 26,101
Learn the most in-demand business, tech and creative skills from industry experts.
Course detailsA lambda expression is a clear and concise way to represent a one method interface. Lambda expressions can be used as method arguments or to iterate, filter, and extract data from a collection. This course explores Oracle's Java 8 specification for lambda expressions, and the syntax and use cases for using lambdas with collections, streams, and maps. Staff instructor and Java expert Peggy Fisher also introduces techniques for programming functional interfaces in Java.
- [Peggy] Welcome. My name is Peggy Fisher, and this is my series on Lambda Expressions in Java. With Java 8, Oracle included, the Java specification request JSR-335 Lambda Expression for the Java Programming Language. For those of you who are not familiar with JSRs, they are actual descriptions of proposed and final specifications for the Java platform. The lambda expressions provide a clear and concise way to represent one method interface using an expression. Lambda expressions also improve the collection library, making it easier to iterate through, filter, and extract data from a collection using streams. To help transition to this new feature of Java 8, I will review the syntax, walk through examples of using lambda with Java collection, streams and maps. Before we dive into lambdas, I will also review the concept of functional interfaces. Now, let's get started with lambda expressions in Java.
Practice while you learn with exercise filesDownload the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.Download the exercise files for this course. Get started with a free trial today.
Watch this course anytime, anywhere. Get started with a free trial today.