| // "Replace with 'Arrays.stream()'" "true" | |
| import java.util.*; | |
| import java.util.stream.Collectors; | |
| import java.util.stream.IntStream; | |
| class Test { | |
| public void test(int[] array) { | |
| /*a*/ | |
| Arrays.stream(array, 1, 5)/*b*/.collect(Collectors.toList())/*c*/;/*d*/ | |
| } | |
| } |