-
public interface KeyAn interface that uniquely identifies some put of data. Implementations must implement and hashCode. Implementations are generally expected to add all uniquely identifying information used in in equals} and hashCode} to the given MessageDigest in }, although this requirement is not as strict for partial cache key signatures.
-
-
Method Summary
Modifier and Type Method Description abstract voidupdateDiskCacheKey(@NonNull() MessageDigest messageDigest)Adds all uniquely identifying information to the given digest. abstract booleanequals(Object o)For caching to work correctly, implementations must implement this method and . abstract inthashCode()For caching to work correctly, implementations must implement this method and . -
-
Method Detail
-
updateDiskCacheKey
abstract void updateDiskCacheKey(@NonNull() MessageDigest messageDigest)
Adds all uniquely identifying information to the given digest.
Note - Using reset inside of this method will resultin undefined behavior.
-
hashCode
abstract int hashCode()
-
-
-
-