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)
Key
Key.hashCode()
.public int hashCode()
Key
Key.equals(Object)
.public void updateDiskCacheKey(@NonNull java.security.MessageDigest messageDigest)
Key
Note - Using MessageDigest.reset()
inside of this method will result
in undefined behavior.
updateDiskCacheKey
in interface Key
public java.lang.String toString()
toString
in class java.lang.Object