org.eclipse.higgins.cache.api.key
Class CacheKey
java.lang.Object
org.eclipse.higgins.cache.api.key.CacheKey
- All Implemented Interfaces:
- Serializable, ICacheKey
- Direct Known Subclasses:
- UserCacheKey
public class CacheKey
- extends Object
- implements ICacheKey
- Author:
- Alexander Yuhimenko
- See Also:
- Serialized Form
CacheKey
public CacheKey(String key)
throws CacheException
- Parameters:
key -
- Throws:
CacheException - if key is null.
getKey
public Serializable getKey()
- Specified by:
getKey in interface ICacheKey
- Returns:
- key value
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object