API Reference > bentleyjs-core > Collections > LRUCache > set 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 - LRUCache<K, V> this. Defined in core/bentley/src/LRUMap.ts Line 193 Last Updated: 15 June, 2021