public final class LangUtils
extends java.lang.Object
Description:
Title:首亨软件 - TSS/CRM等
限定符和类型 | 字段和说明 |
---|---|
static int |
HASH_OFFSET |
static int |
HASH_SEED |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
equals(java.lang.Object obj1,
java.lang.Object obj2)
Check if two objects are equal.
|
static boolean |
equalsIgnoreCase(java.lang.String s1,
java.lang.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,
java.lang.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, java.lang.Object obj)
public static boolean equals(java.lang.Object obj1, java.lang.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 nullpublic static boolean equalsIgnoreCase(java.lang.String s1, java.lang.String s2)
s1
- first string to compare, may be null
s2
- second string to compare, may be null
true
if the objects are equal or both null