質問編集履歴

1

java

2017/08/25 23:09

投稿

BitCoin
BitCoin

スコア53

test CHANGED
File without changes
test CHANGED
@@ -50,6 +50,8 @@
50
50
 
51
51
  Optional<String> result2 =data.stream().max((d1,d2) -> d1.length() - d2.length());
52
52
 
53
+ result2.ifPresent(System.out::println);
54
+
53
55
  ```
54
56
 
55
57