CHARSET, STRING_CHARSET_NAME| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
For caching to work correctly, implementations must implement this method and
Key.hashCode(). |
<T> T |
get(Option<T> option) |
int |
hashCode()
For caching to work correctly, implementations must implement this method and
Key.equals(Object). |
void |
putAll(Options other) |
<T> Options |
set(Option<T> option,
T value) |
String |
toString() |
void |
updateDiskCacheKey(MessageDigest messageDigest)
Adds all uniquely identifying information to the given digest.
|
public boolean equals(Object o)
KeyKey.hashCode().public int hashCode()
KeyKey.equals(Object).public void updateDiskCacheKey(@NonNull MessageDigest messageDigest)
Key Note - Using MessageDigest.reset() inside of this method will result
in undefined behavior.
updateDiskCacheKey in interface Key