java8 three new features - Functional Interface

Brief introduction

Functional Interface (Functional Interface) is one and only one abstract method, but there may be a plurality of non-abstract methods of the interface.

Interface function can be implicitly converted to lambda expressions.

Lambda expressions and method reference (in fact, can also be considered Lambda expressions) on.

 

Guess you like

Origin www.cnblogs.com/wish5714/p/11277625.html