类 LruCacheTKeyTValue
LruCache<TKey,TValue> class
public class LruCache<TKey, TValue> : ICache<TKey, TValue>
构造函数
| 名称 | 描述 |
|---|---|
| LruCache(int) | |
| LruCache(int, IEqualityComparer<TKey>) |
属性
| 名称 | 描述 |
|---|---|
| Capacity { get; } | |
| Count { get; } |
方法
| 名称 | 描述 |
|---|---|
| Add(TKey, TValue) | |
| Clear() | |
| ContainsKey(TKey) | |
| Get(TKey) | |
| GetEnumerator() | |
| RemoveFirst() | |
| TryGetValue(TKey, out TValue) |
另见
- interface ICache<TKey,TValue>
- namespace Aspose.Gis.Common.Collections
- assembly Aspose.GIS