SyntaxFix
Write A Post
Hire A Developer
Questions
There is a method in Guava Sets which can help here:
Sets
public static <E> boolean equals(Set<? extends E> set1, Set<? extends E> set2){ return Sets.symmetricDifference(set1,set2).isEmpty(); }