| |
|
| java.lang.Object com.ibatis.sqlmap.engine.cache.CacheKey
CacheKey | public class CacheKey (Code) | | Hash value generator for cache keys
|
Constructor Summary | |
public | CacheKey() | public | CacheKey(int initialNonZeroOddNumber) | public | CacheKey(int initialNonZeroOddNumber, int multiplierNonZeroOddNumber) |
CacheKey | public CacheKey()(Code) | | Default constructor
|
CacheKey | public CacheKey(int initialNonZeroOddNumber)(Code) | | Constructor that supplies an initial hashcode
Parameters: initialNonZeroOddNumber - - the hashcode to use |
CacheKey | public CacheKey(int initialNonZeroOddNumber, int multiplierNonZeroOddNumber)(Code) | | Costructor that supplies an initial hashcode and multiplier
Parameters: initialNonZeroOddNumber - - the hashcode to use Parameters: multiplierNonZeroOddNumber - - the multiplier to use |
hashCode | public int hashCode()(Code) | | |
update | public CacheKey update(int x)(Code) | | Updates this object with new information based on an int value
Parameters: x - - the int value the cache key |
update | public CacheKey update(Object object)(Code) | | Updates this object with new information based on an object
Parameters: object - - the object the cachekey |
|
|
|