- Method to get the current populated size of the cache
- Use getter to get the current keys of the cache
- Method to retrieve all the keys
- Method to add multiple entires at once to the cache
- Throws an exception if the key is not present in the cache rather than returning null
- Initial release of the LRU Cache package.
LRUCache
class implementation.
- Basic methods for cache management:
put
, get
, remove
, and clear
.
- Automatic eviction of least recently used items to manage memory efficiently.