|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mchange.v1.util.ListUtils
public final class ListUtils
| Constructor Summary | |
|---|---|
ListUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
equivalent(java.util.List a,
java.util.List b)
|
static int |
hashContents(java.util.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 java.util.List |
oneElementUnmodifiableList(java.lang.Object elem)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListUtils()
| Method Detail |
|---|
public static java.util.List oneElementUnmodifiableList(java.lang.Object elem)
public static boolean equivalent(java.util.List a,
java.util.List b)
public static int hashContents(java.util.List l)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||