所以我有
Stream<Integer> stream1 = Stream.of(1, 2, 3, 4, 5); Stream<Integer> stream2 = Stream.of(6, 7, 8, 9, 10);
我想使stream3which 是 和 的元素之stream1和stream2,换句话说,7, 9, 11, 13, 15。
stream3
stream1
stream2
7, 9, 11, 13, 15
我将如何通过流操作来做到这一点?
动漫人物
PIPIONE
白衣染霜花
相关分类