com.mchange.v2.lang
Class ObjectUtils

java.lang.Object
  extended by com.mchange.v2.lang.ObjectUtils

public final class ObjectUtils
extends Object


Method Summary
static boolean eqOrBothNull(Object a, Object b)
           
static int hashOrZero(Object o)
          Note -- if you are using Arrays.equals( ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.