Home | History | Annotate | Download | only in util

Lines Matching defs:CacheEntry

31     private final HashMap<K, CacheEntry<V>> mCacheMap;
34 mCacheMap = new HashMap<K, CacheEntry<V>>();
52 CacheEntry<V> cacheEntry = new CacheEntry<V>();
53 cacheEntry.value = value;
54 mCacheMap.put(key, cacheEntry);
70 CacheEntry<V> cacheEntry = mCacheMap.get(key);
71 if (cacheEntry != null) {
72 cacheEntry.hit++;
74 Log.v(TAG, key + " hit " + cacheEntry.hit + " times.");
76 return cacheEntry.value;
87 CacheEntry<V> v = mCacheMap.remove(key);
108 private static class CacheEntry<V> {