A strange result when using reduce with prallelstream in Java

后端 未结 0 1327
臣服心动
臣服心动 2021-01-30 20:40

The result of the following code is wrong and random.

List list = Stream.of("a", "b").parallel().map(e -> List.of(e + "1         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题