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 Charset |
CHARSET |
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
static final Charset CHARSET
void updateDiskCacheKey(MessageDigest messageDigest)
Note - Using MessageDigest.reset() inside of this method will result
in undefined behavior.