Class LRUCache<K, V>
Class LRUCache.
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class LRUCache<K, V>
Type Parameters
| Name | Description |
|---|---|
| K | Key Type |
| V | Value Type |
Constructors
| Name | Description |
|---|---|
| LRUCache(uint) | Initializes a new instance of the LRUCache<K, V> class. |
Properties
| Name | Description |
|---|---|
| Capacity | Gets or sets the capacity. |
| Count | Gets the count. |
Methods
| Name | Description |
|---|---|
| Add(K, V) | Adds the specified key. |
| Clear() | Clears this instance. |
| Get(K) | Gets the specified key. |