public final class LangUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | HASH_OFFSET | 
| static int | HASH_SEED | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | equals(Object[] a1,
      Object[] a2)Check if two object arrays are equal. | 
| static boolean | equals(Object obj1,
      Object obj2)Check if two objects are equal. | 
| 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)
public static int hashCode(int seed,
           boolean b)
public static int hashCode(int seed,
           Object obj)
public static boolean equals(Object obj1, Object obj2)
obj1 - first object to compare, may be nullobj2 - second object to compare, may be nulltrue if the objects are equal or both nullpublic static boolean equals(Object[] a1, Object[] a2)
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 © 2005–2022 The Apache Software Foundation. All rights reserved.