113hyc

Results 1 comments of 113hyc

Java is always pass-by-value. public static void fooIntList(List intList) { IntStream.range(0, intList.size()).mapToObj(i -> intList.set(i, 2000)).collect(Collectors.toList()); } :smiley: