void (List<String> list, Collection<Number> collection, Iterable<Integer> iterable) { list.stream().filter(Objects::nonNull).forEach(System.out::println); collection.parallelStream().forEach(System.out::println); StreamSupport.stream(iterable.spliterator(), true).forEach(System.out::println); StreamSupport.stream(list.spliterator(), collection.isEmpty()).forEach(System.out::println); }