📅  最后修改于: 2022-03-11 14:52:27.858000             🧑  作者: Mango
public static boolean listEqualsIgnoreOrder(List list1, List list2) {
return new HashSet<>(list1).equals(new HashSet<>(list2));
}