Code example for WeakHashMap

Methods: remove

0
            mWeakCollection.put(t, null);
        } 
 
        public void remove(Thread t) {
 
            mWeakCollection.remove(t);
        } 
 
        public Iterator<Thread> iterator() {
 
            return mWeakCollection.keySet().iterator();
        } 
    } 
 
    private final WeakHashMap<Thread, ThreadStatus> mThreadStatus =
            new WeakHashMap<Thread, ThreadStatus>();
 
    private static BitmapManager sManager = null;
 
    private BitmapManager() {