set Method

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

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

Parameter Type Description
key K  
value V  

Defined in

Last Updated: 08 January, 2020