private GetCache ( int maxItems, int count ) : string>.LruCache |
||
maxItems | int | |
count | int | |
리턴 | string>.LruCache |
private LruCache<string, string> GetCache(int maxItems, int count)
{
var cache = new LruCache<string, string>(maxItems);
for (int i = 0; i < count; i++)
{
cache.AddOrUpdate("key" + i, "value" + i);
}
return cache;
}