public final class EqualityUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
different(Object o1,
Object o2) |
static boolean |
equal(Object o1,
Object o2) |
static int |
hashInts(int... integers)
Hash a bunch of integers
|
static int |
hashObjects(Object... objects)
Hash a bunch of objects
|
public static boolean different(Object o1, Object o2)
o1 - the first objecto2 - the second objectpublic static boolean equal(Object o1, Object o2)
o1 - the first objecto2 - the second objectpublic static int hashObjects(Object... objects)
objects - the objectspublic static int hashInts(int... integers)
integers - the integersCopyright © 2016–2021. All rights reserved.