How to short-circuit a reduce() operation on a Stream?

前端 未结 3 1572
盖世英雄少女心
盖世英雄少女心 2020-12-01 06:31

This is essentially the same question as How to short-circuit reduce on Stream?. However, since that question focuses on a Stream of boolean values, and its answer cannot be

3条回答
提交回复
热议问题