void () { for (ListIterator<String> stringListIterator = STRINGS.listIterator(); stringListIterator.hasNext(); ) { System.out.println(stringListIterator.next()); List<String> strings2 = new ArrayList<>(Collections.singletonList("!")); strings2.forEach(stringListIterator::add); } }