Searched refs:CacheEntry (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/locale/
H A DLocaleObjectCache.java40 private ConcurrentMap<K, CacheEntry<K, V>> map;
55 CacheEntry<K, V> entry = map.get(key);
67 CacheEntry<K, V> newEntry = new CacheEntry<>(key, newVal, queue);
84 CacheEntry<K, V> entry = new CacheEntry<>(key, value, queue);
85 CacheEntry<K, V> oldEntry = map.put(key, entry);
91 CacheEntry<K, V> entry;
92 while ((entry = (CacheEntry<K, V>)queue.poll()) != null) {
103 private static class CacheEntry< class in class:LocaleObjectCache
106 CacheEntry(K key, V value, ReferenceQueue<V> queue) { method in class:LocaleObjectCache.CacheEntry
[all...]
/libcore/ojluni/src/main/java/sun/security/util/
H A DCache.java252 private final Map<K, CacheEntry<K,V>> cacheMap;
290 CacheEntry<K,V> entry = (CacheEntry<K,V>)queue.poll();
299 CacheEntry<K,V> currentEntry = cacheMap.remove(key);
325 for (Iterator<CacheEntry<K,V>> t = cacheMap.values().iterator();
327 CacheEntry<K,V> entry = t.next();
350 for (CacheEntry<K,V> entry : cacheMap.values()) {
364 CacheEntry<K,V> newEntry = newEntry(key, value, expirationTime, queue);
365 CacheEntry<K,V> oldEntry = cacheMap.put(key, newEntry);
373 Iterator<CacheEntry<
468 private static interface CacheEntry<K,V> { interface in class:MemoryCache
[all...]

Completed in 83 milliseconds