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): Entry<K, V> | undefined | ||
| has(key: K): boolean | ||
| set(key: K, value: Entry<K, V>): void |
Properties
| Name | Type | Description | |
|---|---|---|---|
| size | number |
Defined in
Last Updated: 08 January, 2020