|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.lang.ObjectUtils
Common Object
manipulation routines.
Constructor Summary | |
private |
ObjectUtils()
Prevent construction of ObjectUtils instances |
Method Summary | |
static java.lang.Object |
defaultIfNull(java.lang.Object object,
java.lang.Object defaultValue)
Returns a default value if the object passed is null. |
static boolean |
equals(java.lang.Object object1,
java.lang.Object object2)
Compares two objects for equality, where either one or both objects may be null . |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
private ObjectUtils()
Method Detail |
public static java.lang.Object defaultIfNull(java.lang.Object object, java.lang.Object defaultValue)
object
- the object to test.defaultValue
- the default value to return.public static boolean equals(java.lang.Object object1, java.lang.Object object2)
null
.object1
- the first object.object2
- the second object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |