CHARSET, STRING_CHARSET_NAME| Constructor and Description |
|---|
Options() |
| 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(). |
<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) |
java.lang.String |
toString() |
void |
updateDiskCacheKey(java.security.MessageDigest messageDigest)
Adds all uniquely identifying information to the given digest.
|
public void putAll(@NonNull
Options other)
@Nullable
public <T> T get(@NonNull
Option<T> option)
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 Keypublic java.lang.String toString()
toString in class java.lang.Object