set Method

Put into the cache associated with . Replaces any existing entry with the same key.

set(key: K, value: V): LRUCache<K, V>

Parameter Type Description
key K  
value V  

Returns - this.

Defined in

Last Updated: 23 April, 2020