com.karmasphere.share.util
Class ObjectUtil

java.lang.Object
  extended by com.karmasphere.share.util.ObjectUtil

public class ObjectUtil
extends Object


Constructor Summary
ObjectUtil()
           
 
Method Summary
static int compare(byte[] a, byte[] b)
           
static boolean equals(byte[] a, byte[] b)
          Deprecated. Use Arrays.equals(byte[],byte[])
static boolean equals(Object a, Object b)
           
static int hashCode(byte[] a)
          Deprecated. Use Arrays.hashCode(byte[])
static int hashCode(long l)
           
static int hashCode(Object a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectUtil

public ObjectUtil()
Method Detail

equals

public static final boolean equals(byte[] a,
                                   byte[] b)
Deprecated. Use Arrays.equals(byte[],byte[])


hashCode

public static final int hashCode(byte[] a)
Deprecated. Use Arrays.hashCode(byte[])


equals

public static final boolean equals(Object a,
                                   Object b)

hashCode

public static final int hashCode(Object a)

hashCode

public static final int hashCode(long l)

compare

public static final int compare(byte[] a,
                                byte[] b)


Copyright © 2004-2005 Karamsphere. All Rights Reserved.