Package com.mchange.v2.lang
Class ObjectUtils
- java.lang.Object
-
- com.mchange.v2.lang.ObjectUtils
-
public final class ObjectUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
eqOrBothNull(java.lang.Object a, java.lang.Object b)
static int
hashOrZero(java.lang.Object o)
Note -- if you are using Arrays.equals( ...
-
-
-
Method Detail
-
eqOrBothNull
public static boolean eqOrBothNull(java.lang.Object a, java.lang.Object b)
-
hashOrZero
public static int hashOrZero(java.lang.Object o)
Note -- if you are using Arrays.equals( ... ) or similar and want a compatible hash method, see methods inArrayUtils
.
-
-