Skip to main content

Paul Sandoz: Java 8, Lambda and method references

Paul Sandoz illustrates Java 8, Lambda and method references:

It could be said that Java 8 with Lambda has a simple form of structural typing. A method on an object can be transformed into an instance of a matching functional interface. A functional interface is an interface with one method. This is achieved by using method references...

Community: OpenJDK