使用单链表实现最基本的LRU

import java.util.Random; /** * 本身实现LRU */ public class MyLRUImpl<K, V> { private int cap; private int size = 0; private Node<K, V> head; private Node<K, V> tail; private DB
相关文章
相关标签/搜索