Jul 24, 2017 · 1 min read
(I will note that I shortened the code. Here’s a full code snippet to see what I’m talking about)
List<Integer> wat = Arrays.asList(1, 2, 3);
wat.set(0, 4);
wat.forEach(System.out::println);
(I will note that I shortened the code. Here’s a full code snippet to see what I’m talking about)
List<Integer> wat = Arrays.asList(1, 2, 3);
wat.set(0, 4);
wat.forEach(System.out::println);