|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cumulocity.model.Util
public class Util
This class contains convenience methods for core model objects. The methods are mainly used to deal with null objects in a graceful manner.
Method Summary | |
---|---|
static boolean |
equals(Object a,
Object b)
Compare two objects. |
static int |
getHashCode(Object o)
A small wrapper around hashCode() which return 0 for a null object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final boolean equals(Object a, Object b)
a
- b
-
public static final int getHashCode(Object o)
o
- The object whose hash code is to be computed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |