|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.composite.util.ObjectUtils
public class ObjectUtils
Constructor Summary | |
---|---|
ObjectUtils()
|
Method Summary | |
---|---|
static boolean |
equals(java.lang.Object object1,
java.lang.Object object2)
Compares two objects for equality. |
static java.lang.String |
getObjectDescription(java.lang.Object object)
|
static boolean |
isEmpty(java.lang.Object object)
|
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 java.lang.String getObjectDescription(java.lang.Object object)
public static boolean isEmpty(java.lang.Object object)
public static boolean equals(java.lang.Object object1, java.lang.Object object2)
Object.equals(java.lang.Object)
.
object1
- the first objectobject2
- the second object
true
if (A) object1
and
object2
are both null
or (B)
object1
and object2
are both are
both non- null
and equal to each other as defined
by Object.equals(java.lang.Object)
or (C) the objects are
BigDecimal
s that contain identical values or false
, otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |