[Major] rename CollectionsHelper.equals() to equalsUnordered()

This commit is contained in:
Robert von Burg 2017-12-13 16:33:15 +01:00
parent d1ef1e97e9
commit 7a6a3a3c2b
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import java.util.stream.Collectors;
public class CollectionsHelper {
public static <T> boolean equals(List<T> one, List<T> two, Comparator<T> comparator) {
public static <T> boolean equalsUnordered(List<T> one, List<T> two, Comparator<T> comparator) {
if (one == null && two == null)
return true;
if (one == null || two == null || one.size() != two.size())