public class NullSafe extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(Object a,
Object b)
Object.equals(Object) that safely handles nulls. |
static int |
hashCode(Object o)
Object.hashCode() of an object. |
static String |
toString(Object o)
Object.toString() of an object. |
public static boolean equals(Object a, Object b)
Object.equals(Object) that safely handles nulls.a - First objectb - Second objectpublic static int hashCode(Object o)
Object.hashCode() of an object.o - Object to get a hashCode for.public static String toString(Object o)
Object.toString() of an object.o - Object to get a String for.Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.