Package com.mchange.v1.util
Class SetUtils
java.lang.Object
com.mchange.v1.util.SetUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanequivalentDisregardingSort(Set a, Set b) static intfinds a hash value which takes into account the value of all elements, such that two sets for which equivalentDisregardingSort(a, b) returns true will hashContentsDisregardingSort() to the same valuestatic Setstatic SetsetFromArray(Object[] array)
-
Constructor Details
-
SetUtils
public SetUtils()
-
-
Method Details
-
oneElementUnmodifiableSet
-
setFromArray
-
equivalentDisregardingSort
-
hashContentsDisregardingSort
finds a hash value which takes into account the value of all elements, such that two sets for which equivalentDisregardingSort(a, b) returns true will hashContentsDisregardingSort() to the same value
-