🌈 搜索
📅  最后修改于: 2022-03-11 14:52:31.148000             🧑  作者: Mango
boolean allEqual = list.stream().distinct().limit(2).count() <= 1