Code example for WeakHashMap

Methods: clear

0
        /** 
         * This method is provided to reset RoboGuice in testcases. 
         * It should not be called in a real application. 
         */ 
        public static void reset() { 
            injectors.clear();
            resourceListeners.clear();
            viewListeners.clear();
        } 
    } 
}