Since the equals function in array only check the instance, it doesn\'t work well with Set. Hence, I wonder how to make a set of arrays in java?
One possible way cou
If you make your Set be an instance of TreeSet, you can specify a custom Comparator which will be used for all comparisons (even equality).