Learn More About Lambda Expressions
By Scott Hommel-Oracle on Mar 25, 2014
Java SE 8 introduced Lambda Expressions, a powerful new behavior abstraction feature that enables code to be passed around as data. Lambda expressions make your code easier to read, easier to maintain, and less prone to error. Lambda expressions make it possible to express a problem with a higher level of abstraction than was previously possible. Use Lambda Expressions to eliminate large chunks of "boilerplate" code (such as when using inner classes to express behavior), and accomplish more work in less lines of code.
For more information about Lambda Expressions, see the following resources:
- Screencast: Java SE 8 - Language and Library Features (by Brian Goetz) at the Java 8 Launch Webcast
- Screencast: Introduction to Lambda Expressions (by Stuart Marks) at the Java 8 Launch Webcast
- The Lambda Expressions lesson of the Java Tutorials.
- The Aggregate Operations lesson of the Java Tutorials.
See What's New in JDK 8 for information about other new features in JDK 8.