With Java 8 Stream API you can collect the elements of your Stream using one of the many methods of the java.util.Collectors class. To collect the elements in a java.util.List you would do this: ...
public static > java.util.stream.Collector toCollection(java.util.function.Supplier); public static java.util.stream.Collector> toList(); public static java.util ...