com.claritysys.util
Class HashCodes

java.lang.Object
  extended by com.claritysys.util.HashCodes

public class HashCodes
extends java.lang.Object

Return the hashcodes for various data types.


Constructor Summary
HashCodes()
           
 
Method Summary
static int getHash(double value)
          Return the Java hashcode for the given value.
static int getHash(float value)
          Return the Java hashcode for the given value.
static int getHash(int value)
          Return the Java hashcode for the given value.
static int getHash(long value)
          Return the Java hashcode for the given value.
static int getHash(java.lang.Object value)
          Return the Java hashcode for the given value.
static int getHash(java.lang.String value)
          Return the Java hashcode for the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashCodes

public HashCodes()
Method Detail

getHash

public static int getHash(int value)
Return the Java hashcode for the given value.


getHash

public static int getHash(java.lang.String value)
Return the Java hashcode for the given value.


getHash

public static int getHash(long value)
Return the Java hashcode for the given value.


getHash

public static int getHash(java.lang.Object value)
Return the Java hashcode for the given value.


getHash

public static int getHash(float value)
Return the Java hashcode for the given value.


getHash

public static int getHash(double value)
Return the Java hashcode for the given value.



Copyright ? 2002 Clarity Systems Group, LLC. All Rights Reserved.