Code example for TreeSet

Methods: clear

0
     *  File[] f1 = search.listFiles(C:/filelist/", "*.java"); 
     *  search.clear(); 
     *  File[] f2 = search.listFiles("C:/filelist/", "*.jsp");  
     */ 
    public void clear(){ 
    	set.clear();
    } 
}