LRUCache implemented in JAVA