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 obj1,
Object obj2)
Check if two objects are equal.
|
static boolean |
equalsIgnoreCase(String s1,
String s2)
Check if two strings are equal, ignoring case considerations.
|
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 null
obj2
- second object to compare, may be null
true
if the objects are equal or both nullCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.