K
- key typeT
- type of cached objectpublic abstract static class Document.MapCache<K,T>
extends java.util.HashMap<K,T>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
MapCache() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
fetch(K key)
Fetch object from source
|
T |
get(java.lang.Object key) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
private static final long serialVersionUID