public virtual int CompareTo(LFUCacheItem <K, V> other) { return(other.Frequency.CompareTo(this.Frequency)); // change }
protected override LFUCacheItem <K, V> CreateItem(K key, V value) { var item = new LFUCacheItem <K, V>(key, value); return(item); }