org.bridj.util
Class ConcurrentCache<K,V>
java.lang.Object
org.bridj.util.ConcurrentCache<K,V>
public class ConcurrentCache<K,V>
- extends Object
Cache that creates its missing values automatically, using the value class' default constructor (override newInstance(Object) to call another constructor)
ConcurrentCache
public ConcurrentCache(Class<V> valueClass)
get
public V get(K key)
clear
public void clear()
entrySet
public Iterable<Map.Entry<K,V>> entrySet()
Copyright © 2009-2013. All Rights Reserved.