Code example for Set

Methods: clear

0
        /** {@inheritDoc} */ 
        public void projectOpened(IProject project) {
            // A newly opened project could contribute some Android application. 
            // So we invalidate the set of apps that are known to be not in the workspace, as 
            // that set could be out of date now. 
            mAppsNotInWorkspace.clear();
        } 
 
        /** {@inheritDoc} */ 
        public void projectDeleted(IProject project) {
            // Deletion is effectively the same as closing 
            projectClosed(project);
        } 
 
        /** {@inheritDoc} */ 
        public void projectClosed(IProject project) {
            // When a project is closed, remove all mappings contributed by the project. 
            Map<String, String> updatedCache = new HashMap<String, String>();
 
            String name = project.getName();
            for (Entry<String, String> e : mAppsInWorkspace.entrySet()) {