CHARSET, STRING_CHARSET_NAME| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
For caching to work correctly, implementations must implement this method and
Key.hashCode(). |
int |
hashCode()
For caching to work correctly, implementations must implement this method and
Key.equals(Object). |
static Key |
obtain(android.content.Context context) |
void |
updateDiskCacheKey(java.security.MessageDigest messageDigest)
Adds all uniquely identifying information to the given digest.
|
@NonNull public static Key obtain(@NonNull android.content.Context context)
public boolean equals(java.lang.Object o)
KeyKey.hashCode().public int hashCode()
KeyKey.equals(Object).public void updateDiskCacheKey(@NonNull
java.security.MessageDigest messageDigest)
KeyNote - Using MessageDigest.reset() inside of this method will result
in undefined behavior.
updateDiskCacheKey in interface Key