|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibatis.sqlmap.engine.cache.CacheKey
public class CacheKey
Hash value generator for cache keys
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CacheKey()
public CacheKey(int initialNonZeroOddNumber)
initialNonZeroOddNumber
- - the hashcode to usepublic CacheKey(int initialNonZeroOddNumber, int multiplierNonZeroOddNumber)
initialNonZeroOddNumber
- - the hashcode to usemultiplierNonZeroOddNumber
- - the multiplier to useMethod Detail |
---|
public CacheKey update(int x)
x
- - the int value
public CacheKey update(Object object)
object
- - the object
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |