Hash-map that can be used as a LRU cache.