What's New in JDK 8 & java-language-changes 9-20
8变动
https://www.oracle.com/java/technologies/javase/8-whats-new.html
Lambda表达式 | Lambda Expressions | https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html |
接口中默认方法和静态方法 | Interface Method Body |
https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html |
函数式接口 | Functional Interfaces | https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html#approach6 |
方法引用 | Method References | https://docs.oracle.com/javase/tutorial/java/javaOO/methodreferences.html |
Stream API | https://docs.oracle.com/javase/tutorial/essential/io/streams.html | |
新时间日期API | ||
其他特性 |
9-20变动
https://docs.oracle.com/en/java/javase/20/language/java-language-changes.html