Default Methods


Idioms and Techniques

Design Rationale

Advanced Questions

What are method references?

Any lambda expression may be thought of as an anonymous representation of a function type of a functional interface. An alternative way representing a function type is with a concrete method of an existing class. Method references are handles to such existing methods. For example,

String::valueOf Integer::compare

are references to static methods, analogous to […]