com.mchange.v2.lang
Class ObjectUtils
java.lang.Object
com.mchange.v2.lang.ObjectUtils
public final class ObjectUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eqOrBothNull
public static boolean eqOrBothNull(Object a,
Object b)
hashOrZero
public static int hashOrZero(Object o)
- Note -- if you are using Arrays.equals( ... ) or similar
and want a compatible hash method, see methods in
ArrayUtils
.