Skip to content

Commit 4a725be

Browse files
committed
method function reference
1 parent 8460294 commit 4a725be

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

java-8/src/main/java/com/diyishuai/java8/function/FunctionReference.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public static void main(String[] args) {
2121
classConstructorFunctionReference();
2222
classStaticFunctionReference();
2323
instanceFunctionReference();
24+
2425
}
2526

2627

@@ -98,10 +99,6 @@ public Apple(String id, double weight) {
9899
this.weight = weight;
99100
}
100101

101-
public void show(){
102-
System.out.println(this.toString());
103-
}
104-
105102
}
106103

107104
class Show {

0 commit comments

Comments
 (0)