LRUCache<K, V> constructor
LRUCache<K, V> (
- int capacity
Creates an LRU cache with the given capacity.
Implementation
LRUCache(this.capacity);
Creates an LRU cache with the given capacity.
LRUCache(this.capacity);