Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6020bca + bfa4f78 commit dec1fe6Copy full SHA for dec1fe6
docs/java/new-features/java8-common-new-features.md
@@ -176,7 +176,7 @@ public interface Runnable{}
176
177
```java
178
@FunctionalInterface
179
-public interface LambdaFunctionalInterface {
+public interface LambdaInterface {
180
void f();
181
}
182
//使用
@@ -221,7 +221,7 @@ public class LambdaClassSuper {
221
222
223
224
-public class LambdaClass {
+public class LambdaClass extends LambdaClassSuper {
225
public static LambdaInterface staticF() {
226
return null;
227
@@ -243,6 +243,7 @@ public class LambdaClass {
243
244
//4. 构造方法调用
245
LambdaInterface tt = LambdaClassSuper::new;
246
+ }
247
248
```
249
0 commit comments