public final class SetUtils extends Object
| Constructor and Description |
|---|
SetUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equivalentDisregardingSort(Set a,
Set b) |
static int |
hashContentsDisregardingSort(Set s)
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
|
static Set |
oneElementUnmodifiableSet(Object elem) |
static Set |
setFromArray(Object[] array) |
public static int hashContentsDisregardingSort(Set s)