Skip to content

Commit 8741fad

Browse files
authored
fix:修正意外换行
1 parent 3865282 commit 8741fad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/java/new-features/java8-common-new-features.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ public class InterfaceNewImpl implements InterfaceNew , InterfaceNew1{
9595

9696
在 java 8 中专门有一个包放函数式接口`java.util.function`,该包下的所有接口都有 `@FunctionalInterface` 注解,提供函数式编程。
9797

98-
在其他包中也有函数式接口,其中一些没有`@FunctionalInterface` 注解,但是只要符合函数式接口的定义就是函数式接口,与是否有
99-
100-
`@FunctionalInterface`注解无关,注解只是在编译时起到强制规范定义的作用。其在 Lambda 表达式中有广泛的应用。
98+
在其他包中也有函数式接口,其中一些没有`@FunctionalInterface` 注解,但是只要符合函数式接口的定义就是函数式接口,与是否有`@FunctionalInterface`注解无关,注解只是在编译时起到强制规范定义的作用。其在 Lambda 表达式中有广泛的应用。
10199

102100
## Lambda 表达式
103101

0 commit comments

Comments
 (0)