MyLinkedListmyLinkedList; intsize; intcapacity; HashMap<Integer,MyNode>map; publicLRUCache(intcapacity) { myLinkedList=newMyLinkedList(); this.capacity=capacity; size=0; map=newHashMap<>(); } publicintget(intkey) { if (!map.containsKey(key)){ return-1; } // 拿出...