How to force max to return ALL maximum values in a Java Stream?

后端 未结 7 939
陌清茗
陌清茗 2020-11-22 09:47

I\'ve tested a bit the max function on Java 8 lambdas and streams, and it seems that in case max is executed, even if more than one object compares

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