Interface LRUMap.RemovalListener<K,​V>

  • Type Parameters:
    K - the type of keys maintained by this map
    V - the type of mapped values
    Enclosing class:
    LRUMap<K,​V>

    public static interface LRUMap.RemovalListener<K,​V>
    An object that can receive a notification when an entry is removed from a LRUMap.
    • Method Detail

      • onRemoval

        void onRemoval​(Map.Entry<K,​V> eldest)