📅  最后修改于: 2022-03-11 14:52:08.756000             🧑  作者: Mango
Stream combinedStream = Stream.of(collectionA, collectionB)
.flatMap(Collection::stream);
Collection collectionCombined =
combinedStream.collect(Collectors.toList());