Code example for WeakHashMap

Methods: keySet

        public void remove(Thread 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. 
    private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) {
Connect your IDE to all the code out there  Get Codota for Java