ObjectKey

class ObjectKey : Key

Wraps an java.lang.Object, delegating equals and hashCode to the wrapped Object and providing the bytes of the result of the Object's toString method to the java.security.MessageDigest in updateDiskCacheKey.

The Object's toString method must be unique and suitable for use as a disk cache key.

Constructors

Link copied to clipboard
open fun ObjectKey(object: Any)

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun updateDiskCacheKey(messageDigest: MessageDigest)
Adds all uniquely identifying information to the given digest.

Properties

Link copied to clipboard
val CHARSET: Charset
Link copied to clipboard
val STRING_CHARSET_NAME: String