diff --git a/docs/java/new-features/Java8新特性总结.md b/docs/java/new-features/Java8新特性总结.md index 8cf809f7..e5a87f0b 100644 --- a/docs/java/new-features/Java8新特性总结.md +++ b/docs/java/new-features/Java8新特性总结.md @@ -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上使用的。