public final class LangUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
HASH_OFFSET |
static int |
HASH_SEED |
public static final int HASH_SEED
public static final int HASH_OFFSET
public static int hashCode(int seed,
int hashcode)
public static int hashCode(int seed,
boolean b)
public static int hashCode(int seed,
Object obj)
@Deprecated public static boolean equals(Object obj1, Object obj2)
Object.equals(Object).obj1 - first object to compare, may be nullobj2 - second object to compare, may be nulltrue if the objects are equal or both null@Deprecated public static boolean equals(Object[] a1, Object[] a2)
Object.equals(Object).truefalsefalsefalse if any comparisons fail.truea1 - first array to compare, may be nulla2 - second array to compare, may be nulltrue if the arrays are equal or both nullCopyright © 2023. All rights reserved.