Skip to main content

Method Reference Expressions

· One min read

背景

了解java 的method reference

介绍

java method reference 在上述文档的:15.13 Method Reference Expressions 这一个小节有介绍

java method reference 是java的一个表达式, 表达式经过求值,会得到一个对象. 那么method reference结果是一个functional interface type

Evaluation of a method reference expression produces an instance of a functional
interface type