Package co.aikar.util

Class MRUMapCache<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
co.aikar.util.MRUMapCache<K,V>
Type Parameters:
K - Key Type of the Map
V - Value Type of the Map
All Implemented Interfaces:
Map<K,V>

public class MRUMapCache<K,V> extends AbstractMap<K,V>
Implements a Most Recently Used cache in front of a backing map, to quickly access the last accessed result.