Esempio n. 1
0
 /// <summary>
 /// 构造一个迭代器
 /// </summary>
 /// <param name="lruCache">近期最少使用缓存</param>
 internal Enumerator(LruCache <TKey, TVal> lruCache, bool forward)
 {
     this.lruCache = lruCache;
     this.forward  = forward;
 }
Esempio n. 2
0
 /// <summary>
 /// 构造一个迭代器
 /// </summary>
 /// <param name="lruCache">近期最少使用缓存</param>
 internal Enumerator(LruCache <TKey, TVal> lruCache)
 {
     this.lruCache = lruCache;
 }