EntryContainer<K, V> Interface
The interface that must be satisfied by the underlying container type used by a LRUCache. Compatible with a Dictionary or a standard Map.
Methods
Name | Description | |
---|---|---|
clear(): void | ||
delete(key: K): void | ||
get(key: K): undefined | Entry<K, V> | ||
has(key: K): boolean | ||
set(key: K, value: Entry<K, V>): void |
Properties
Name | Type | Description | |
---|---|---|---|
size Readonly | number |
Defined in
- core/bentley/src/LRUMap.ts Line 74
Last Updated: 20 June, 2023