예제 #1
0
파일: LruCache.cs 프로젝트: U3DC/CatLib
 /// <summary>
 /// 构造一个迭代器
 /// </summary>
 /// <param name="lruCache">近期最少使用缓存</param>
 internal Enumerator(LruCache <TKey, TVal> lruCache, bool forward)
 {
     this.lruCache = lruCache;
     this.forward  = forward;
 }
예제 #2
0
 /// <summary>
 /// 构造一个迭代器
 /// </summary>
 /// <param name="lruCache">近期最少使用缓存</param>
 internal Enumerator(LruCache <TKey, TVal> lruCache)
 {
     this.lruCache = lruCache;
 }