回答編集履歴

2

5じゃなかった10

2016/08/19 11:46

投稿

matobaa
matobaa

スコア2493

test CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
  ```java
30
30
 
31
- IntStream.rangeClosed(1, 5).parallel().forEach(
31
+ IntStream.rangeClosed(1, 10).parallel().forEach(
32
32
 
33
33
  i -> {dtoB.getFunction(i).accept(list.get(i-1).getCount());}
34
34
 
@@ -46,4 +46,4 @@
46
46
 
47
47
 
48
48
 
49
- 価値あるの
49
+ メソッド数がとても多ければ parallel の効果がでるかもしない……

1

感想を追記

2016/08/19 11:46

投稿

matobaa
matobaa

スコア2493

test CHANGED
@@ -43,3 +43,7 @@
43
43
 
44
44
 
45
45
  Stream#zip() を使えば、もっとすっきり書けるはず。
46
+
47
+
48
+
49
+ やる価値あるのかこれ。