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();
  } 
} 
Experience pair programming with AI  Get Codota for Java