LRUCache<'K, 'V> Type
Represents a Least Recently Used (LRU) cache that does not support concurrency. The capacity must be positive.
Constructors
| Constructor |
Description
|
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.Add
Parameters:
'K
value : 'V
|
Adds or replaces a value in the cache. Replacing an existing key removes the old entry and inserts the new value as the most recently used entry.
|
Full Usage:
this.Clear
|
Removes all entries from the cache. |
Full Usage:
this.Count
Returns: int
|
Gets the number of entries currently stored in the cache.
|
|
|
|
B2R2