com.caucho.util
Class HashKeyManager

java.lang.Object
  extended by com.caucho.util.HashKeyManager

public class HashKeyManager
extends java.lang.Object

Creates hashes for the identifiers.


Field Summary
static java.lang.String HASH_ALGORITHM
           
static HashKey NULL
           
static int SIZE
           
 
Constructor Summary
HashKeyManager()
           
 
Method Summary
static HashKey generateHash(HashKey priorHash, java.lang.String key)
          Generates a hash from a prior hash and a string
static HashKey generateHash(java.lang.String key)
          Generates a hash from a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final int SIZE
See Also:
Constant Field Values

HASH_ALGORITHM

public static final java.lang.String HASH_ALGORITHM
See Also:
Constant Field Values

NULL

public static final HashKey NULL
Constructor Detail

HashKeyManager

public HashKeyManager()
Method Detail

generateHash

public static HashKey generateHash(java.lang.String key)
Generates a hash from a string


generateHash

public static HashKey generateHash(HashKey priorHash,
                                   java.lang.String key)
Generates a hash from a prior hash and a string