Frank850923
12/11/2019 - 3:34 PM

FlatMap for return type List<T>

        List.stream()
				    .flatMap(ThrowingConsumer.wrapper(i -> method(param1, i).stream()))
				    .collect(Collectors.toList());