666768697071727374757677
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--; }
717273747576777879808182