API Reference > bentleyjs-core > Collections > LRUCache > set 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 LRUMap.ts Last Updated: 08 January, 2020