public class LRUCacheMap<K,V> extends Object
Constructor and Description |
---|
LRUCacheMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(K key) |
static <K,V> LRUCacheMap<K,V> |
create() |
V |
get(K key) |
V |
getLRU() |
boolean |
isEmpty() |
void |
put(K key,
V value) |
V |
remove(K key) |
V |
removeLRU() |
int |
size() |
public static <K,V> LRUCacheMap<K,V> create()
public V getLRU()
public V removeLRU()
public boolean containsKey(K key)
public boolean isEmpty()
public int size()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.