public LRUCache(int cacheSize, int historySize, int k) { cache = new LRU_1(cacheSize); this.historySize = historySize; this.k = k; }
public LRUCache(int cacheSize) { cache = new LRU_1(cacheSize); historySize = cacheSize * 3; this.k = 2; }