Home | History | Annotate | Download | only in util

Lines Matching defs:cacheEntry

29     private final SimpleArrayMap<K, CacheEntry<V>> mCacheMap;
32 mCacheMap = new SimpleArrayMap<K, CacheEntry<V>>();
50 CacheEntry<V> cacheEntry = new CacheEntry<V>();
51 cacheEntry.value = value;
52 mCacheMap.put(key, cacheEntry);
68 CacheEntry<V> cacheEntry = mCacheMap.get(key);
69 if (cacheEntry != null) {
70 cacheEntry.hit++;
72 Log.v(TAG, key + " hit " + cacheEntry.hit + " times.");
74 return cacheEntry.value;
85 CacheEntry<V> v = mCacheMap.remove(key);
106 private static class CacheEntry<V> {