Submitted by code_admin on Wed, 10/17/2018 - 16:07 IntStream.range(0,5).boxed().collect(Collectors.toList()).forEach(i -> System.out.println(String.format("Robert did %d", i))); Streams RJM Article Type Quick Reference