普段は toList で ArrayList に結果をまとめることが多いが独自のコレクションクラスにまとめたい場合があるその場合にこれを使う
List<Integer> myList = Stream.of(1, 2, 3, 4, 5).collect( Collectors.toCollection(LinkedList::new) );