public interface Key
Object.equals(Object)
and Object.hashCode(). Implementations are generally expected to add all uniquely identifying information
used in in Object.equals(Object)} and Object.hashCode()} to the given
MessageDigest in updateDiskCacheKey(java.security.MessageDigest)}, although this
requirement is not as strict for partial cache key signatures.| Modifier and Type | Field and Description |
|---|---|
static String |
STRING_CHARSET_NAME |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
void |
updateDiskCacheKey(MessageDigest messageDigest)
Adds all uniquely identifying information to the given digest.
|
static final String STRING_CHARSET_NAME
void updateDiskCacheKey(MessageDigest messageDigest) throws UnsupportedEncodingException
Note - Using MessageDigest.reset() inside of this method will result in undefined
behavior.
UnsupportedEncodingException