|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheKey
A serializable, immutable, thread-safe object that can be used for a cache key.
The implementation MUST follow the java contract forObject.hashCode() and
Object.equals(Object) to ensure correct behavior.
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this CacheKey with another. |
int |
hashCode()
The immutable hash code of the object. |
| Method Detail |
|---|
int hashCode()
hashCode in class Objectboolean equals(Object o)
CacheKey with another. If the two objects are equal their hashCode() values
MUST be equal as well.
equals in class Objecto - The other object to compare to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||