1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

fix: 错字修复

This commit is contained in:
ZhiHong Li 2021-02-26 22:13:54 +08:00 committed by GitHub
parent e26bb6ff97
commit 58aa6a409d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,7 @@ Formula formula = (a) -> sqrt(a * 100);
### 内置函数式接口(Built-in Functional Interfaces)
JDK 1.8 API包含许多内置函数式接口。 其中一些口在老版本的 Java 中是比较常见的比如: `Comparator``Runnable`,这些接口都增加了`@FunctionalInterface`注解以便能用在 lambda 表达式上。
JDK 1.8 API包含许多内置函数式接口。 其中一些口在老版本的 Java 中是比较常见的比如: `Comparator``Runnable`,这些接口都增加了`@FunctionalInterface`注解以便能用在 lambda 表达式上。
但是 Java 8 API 同样还提供了很多全新的函数式接口来让你的编程工作更加方便,有一些接口是来自 [Google Guava](https://code.google.com/p/guava-libraries/) 库里的即便你对这些很熟悉了还是有必要看看这些是如何扩展到lambda上使用的。