質問編集履歴
1
java
title
CHANGED
File without changes
|
body
CHANGED
@@ -24,6 +24,7 @@
|
|
24
24
|
###該当のソースコード2
|
25
25
|
```java
|
26
26
|
Optional<String> result2 =data.stream().max((d1,d2) -> d1.length() - d2.length());
|
27
|
+
result2.ifPresent(System.out::println);
|
27
28
|
```
|
28
29
|
|
29
30
|
###返り値
|