|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjena.atlas.lib.cache.CacheWrapper<K,V>
org.openjena.atlas.lib.cache.CacheWithGetter<K,V>
public class CacheWithGetter<K,V>
Cache that takes a Getter to automatically fill cache misses.
| Constructor Summary | |
|---|---|
CacheWithGetter(Cache<K,V> cache,
Getter<K,V> getter)
|
|
| Method Summary | |
|---|---|
V |
get(K key)
Get from cache - or return null. |
| Methods inherited from class org.openjena.atlas.lib.cache.CacheWrapper |
|---|
clear, containsKey, isEmpty, keys, put, remove, setDropHandler, size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheWithGetter(Cache<K,V> cache,
Getter<K,V> getter)
| Method Detail |
|---|
public V get(K key)
Cache
get in interface Cache<K,V>get in class CacheWrapper<K,V>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||