com.icthh.xm.commons.permission.utils.CollectionUtils Maven / Gradle / Ivy
The newest version!
package com.icthh.xm.commons.permission.utils;
import java.util.Collection;
import java.util.HashSet;
import lombok.experimental.UtilityClass;
@UtilityClass
public class CollectionUtils {
public static boolean listsNotEqualsIgnoreOrder(Collection collection1, Collection collection2) {
return new HashSet<>(collection1).equals(new HashSet<>(collection2));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy