public final class ListUtils extends Object
Constructor and Description |
---|
ListUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equivalent(List a,
List b) |
static int |
hashContents(List l)
finds a hash value which takes into account
the value of all elements, such that two sets
for which equivalent(a, b) returns
true will hashContents() to the same value
|
static List |
oneElementUnmodifiableList(Object elem) |
public static int hashContents(List l)
Copyright © 2018 com.mchange. All rights reserved.