Cache
A contract that defines a semi-persistent mapping of keys and values. Cache entries are manually added using put(K, V), and are stored in the cache until either evicted or manually removed. After storing a value, it can be accessed using get(K).
Parameters
<K>
The type of the key.
<V>
The type of the value.