Code example for WeakHashMap

Methods: keySet

0
            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() { 
 
    } 
 
    /** 
     * Get thread status and create one if specified. 
     */