
上QQ阅读APP看书,第一时间看更新
JEP 323 – Local-Variable Syntax for Lambda Parameters
A local-variable syntax for lambda parameters has the same syntax as a local-variable-declaration using the reserved var type introduced in Java 11. See the Using local variable syntax for lambda parameters recipe in Chapter 15, The New Way of Coding with Java 10 and Java 11, for more details.