com.bumptech.glide.load
Interface Key
- All Known Implementing Classes:
- EmptySignature, MediaStoreSignature, StringSignature
public interface Key
An interface that uniquely identifies some set of data. Implementations must implement 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.
STRING_CHARSET_NAME
static final String STRING_CHARSET_NAME
- See Also:
- Constant Field Values
updateDiskCacheKey
void updateDiskCacheKey(MessageDigest messageDigest)
throws UnsupportedEncodingException
- Adds all uniquely identifying information to the given digest.
Note - Using MessageDigest.reset()
inside of this method will result in undefined
behavior.
- Throws:
UnsupportedEncodingException
equals
boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
int hashCode()
- Overrides:
hashCode
in class Object