com.ibatis.sqlmap.engine.cache
public class CacheKey extends Object
| Constructor Summary | |
|---|---|
| CacheKey()
Default constructor | |
| CacheKey(int initialNonZeroOddNumber)
Constructor that supplies an initial hashcode
| |
| CacheKey(int initialNonZeroOddNumber, int multiplierNonZeroOddNumber)
Costructor that supplies an initial hashcode and multiplier
| |
| Method Summary | |
|---|---|
| boolean | equals(Object object) |
| int | hashCode() |
| String | toString() |
| CacheKey | update(int x)
Updates this object with new information based on an int value
|
| CacheKey | update(Object object)
Updates this object with new information based on an object
|
Parameters: initialNonZeroOddNumber - the hashcode to use
Parameters: initialNonZeroOddNumber - the hashcode to use multiplierNonZeroOddNumber - the multiplier to use
Parameters: x - the int value
Returns: the cache key
Parameters: object - the object
Returns: the cachekey