public class MapBackedCache<K,V> extends Object implements Cache<K,V>
MapBackedCache(Map<K,V> map)
void
clear()
V
computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
get(K key)
put(K key, V val)
remove(K key)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MapBackedCache(Map<K,V> map)
public V put(K key, V val)
put
Cache<K,V>
public V get(K key)
get
public V remove(K key)
remove
public void clear()
clear
public V computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
computeIfAbsent
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.