|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.owasp.esapi.util.NullSafe
public class NullSafe
Method Summary | |
---|---|
static boolean |
equals(java.lang.Object a,
java.lang.Object b)
Object.equals(Object) that safely handles nulls. |
static int |
hashCode(java.lang.Object o)
Object.hashCode() of an object. |
static java.lang.String |
toString(java.lang.Object o)
Object.toString() of an object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean equals(java.lang.Object a, java.lang.Object b)
Object.equals(Object)
that safely handles nulls.
a
- First objectb
- Second object
public static int hashCode(java.lang.Object o)
Object.hashCode()
of an object.
o
- Object to get a hashCode for.
public static java.lang.String toString(java.lang.Object o)
Object.toString()
of an object.
o
- Object to get a String for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |