com.mchange.v1.util
Class ListUtils
java.lang.Object
com.mchange.v1.util.ListUtils
public final class ListUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListUtils
public ListUtils()
oneElementUnmodifiableList
public static List oneElementUnmodifiableList(Object elem)
equivalent
public static boolean equivalent(List a,
List b)
hashContents
public 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