575859606162636465666768
public LRUCache(int size) { if (size <= 0) size=1; maxSize = size; free = new DoublyLinkedList(); used = new DoublyLinkedList(); while (size > 0) { free.add(new LRUNode()); size--; }
666768697071727374757677
717273747576777879808182
99100101102103104105106107108109110