diff options
Diffstat (limited to 'src/com/android/gallery3d/util/IdentityCache.java')
-rw-r--r-- | src/com/android/gallery3d/util/IdentityCache.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/util/IdentityCache.java b/src/com/android/gallery3d/util/IdentityCache.java index 02a46aef7..59a22910b 100644 --- a/src/com/android/gallery3d/util/IdentityCache.java +++ b/src/com/android/gallery3d/util/IdentityCache.java @@ -61,11 +61,15 @@ public class IdentityCache<K, V> { return entry == null ? null : entry.get(); } + // This is currently unused. + /* public synchronized void clear() { mWeakMap.clear(); mQueue = new ReferenceQueue<V>(); } + */ + // This is for debugging only public synchronized ArrayList<K> keys() { Set<K> set = mWeakMap.keySet(); ArrayList<K> result = new ArrayList<K>(set); |