Java EE 5 SDK

com.sun.appserv.management.util.misc
Class ObjectUtil

java.lang.Object
  extended by com.sun.appserv.management.util.misc.ObjectUtil

public final class ObjectUtil
extends Object

Provides a variety of useful utilities for computing hashCode().


Method Summary
static boolean equals(Object s1, Object s2)
           
static int hashCode(boolean value)
           
static int hashCode(double value)
           
static int hashCode(long value)
           
static int hashCode(Object... items)
           
static int hashCode(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hashCode

public static int hashCode(boolean value)

hashCode

public static int hashCode(Object... items)

hashCode

public static int hashCode(Object o)

hashCode

public static int hashCode(long value)

hashCode

public static int hashCode(double value)

equals

public static boolean equals(Object s1,
                             Object s2)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.