2019年11月14日

LRU hashMap(拉链) + 双向链表 java实现

摘要: //基于 hash (拉链法) + 双向链表,LRUcache //若改为开放寻址,线性探测法能更好使用cpuCache public class LRU { private class Node { Node p; //访问序 priv Node n; //访问序 next Node hn; // 阅读全文

posted @ 2019-11-14 20:05 jald 阅读(307) 评论(0) 推荐(0) 编辑

导航