|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.util.ObjectUtils
Miscellaneous object utility methods. Mainly for internal use within the framework; consider Jakarta's Commons Lang for a more comprehensive suite of object utilities.
org.apache.commons.lang.ObjectUtils
Constructor Summary | |
ObjectUtils()
|
Method Summary | |
static java.lang.String |
getIdentityHexString(java.lang.Object o)
Return a hex string form of an object's identity hash code. |
static boolean |
nullSafeEquals(java.lang.Object o1,
java.lang.Object o2)
Determine if the given objects are equal, returning true if both are null respectively false if only one is null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectUtils()
Method Detail |
public static boolean nullSafeEquals(java.lang.Object o1, java.lang.Object o2)
o1
- first Object to compareo2
- second Object to compare
public static java.lang.String getIdentityHexString(java.lang.Object o)
o
- the object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |