Key

class Key @JvmOverloads constructor(val key: String, extras: Map<String, String> = emptyMap())

The cache key for a Value in the memory cache.

Parameters

key

The value returned by Keyer.key (or a custom value).

extras

Extra values that differentiate the associated cached value from other values with the same key.

Constructors

Link copied to clipboard
constructor(key: String, extras: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
val key: String

Functions

Link copied to clipboard
fun copy(key: String = this.key, extras: Map<String, String> = this.extras): MemoryCache.Key
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String