Code example for HashSet

Methods: clear

0
   * Clear state in case of redundancy (e.g., wipe). 
   */ 
  public void clear() { 
    nonFolders.clear();
    nonFolderCount = 0;
    folders.clear();
    nonFolderParents.clear();
    folderParents.clear();
  } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE