public final class LangUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_OFFSET
HASH_OFFSET = 37.
|
static int |
HASH_SEED
HASH_SEED = 17.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(Object obj1,
Object obj2) |
static int |
hashCode(int seed,
boolean b) |
static int |
hashCode(int seed,
int hashcode) |
static int |
hashCode(int seed,
Object obj) |
public static final int HASH_SEED
public static final int HASH_OFFSET
public static int hashCode(int seed,
int hashcode)
seed - the seed to be usedhashcode - the hashcode to be used as inputpublic static int hashCode(int seed,
boolean b)
seed - the seed to be usedb - the boolean to be used as inputpublic static int hashCode(int seed,
Object obj)
seed - the seed to be usedobj - the object to be used as inputCopyright © 2021. All rights reserved.