This class provides a Least Recently Used (LRU) cache implementation. It is designed to store key-value pairs and automatically remove the least recently used items when the cache exceeds a maximum size.
Description
This class provides a Least Recently Used (LRU) cache implementation. It is designed to store key-value pairs and automatically remove the least recently used items when the cache exceeds a maximum size.