LRUCache<K, V> constructor

LRUCache<K, V>(
  1. int capacity
)

Creates an LRU cache with the given capacity.

Implementation

LRUCache(this.capacity);