Home
last modified time | relevance | path

Searched refs:valuesMap (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/reflect/
DWeakCache.java108 ConcurrentMap<Object, Supplier<V>> valuesMap = map.get(cacheKey); in get() local
109 if (valuesMap == null) { in get()
112 valuesMap = new ConcurrentHashMap<>()); in get()
114 valuesMap = oldValuesMap; in get()
121 Supplier<V> supplier = valuesMap.get(subKey); in get()
138 factory = new Factory(key, parameter, subKey, valuesMap); in get()
142 supplier = valuesMap.putIfAbsent(subKey, factory); in get()
149 if (valuesMap.replace(subKey, supplier, factory)) { in get()
156 supplier = valuesMap.get(subKey); in get()
203 private final ConcurrentMap<Object, Supplier<V>> valuesMap; field in WeakCache.Factory
[all …]