fr.opensagres.xdocreport.core.cache
Class MapCacheStorage<K,V>
java.lang.Object
fr.opensagres.xdocreport.core.cache.MapCacheStorage<K,V>
- Type Parameters:
K - V -
- All Implemented Interfaces:
- ICacheStorage<K,V>
public class MapCacheStorage<K,V>
- extends Object
- implements ICacheStorage<K,V>
ICacheStorage implementation with Map;
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapCacheStorage
public MapCacheStorage()
get
public V get(K key)
- Specified by:
get in interface ICacheStorage<K,V>
put
public void put(K key,
V value)
- Specified by:
put in interface ICacheStorage<K,V>
remove
public void remove(K key)
- Specified by:
remove in interface ICacheStorage<K,V>
clear
public void clear()
- Specified by:
clear in interface ICacheStorage<K,V>
containsKey
public boolean containsKey(K key)
- Specified by:
containsKey in interface ICacheStorage<K,V>
values
public Collection<V> values()
- Specified by:
values in interface ICacheStorage<K,V>
Copyright © 2014. All Rights Reserved.