Package com.mchange.v1.util
Class SetUtils
java.lang.Object
com.mchange.v1.util.SetUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
equivalentDisregardingSort
(Set a, Set b) static int
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 valuestatic Set
static Set
setFromArray
(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
-