Code example for SortedMap

Methods: clear

0
     * Clears all cookies. 
     */ 
    public void clearCookies() { 
// BEGIN IA/HERITRIX CHANGES 
//        this.cookiesArrayList.clear(); 
        this.cookiesMap.clear();
// END IA/HERITRIX CHANGES 
    } 
     
    /** 
     * Clears the state information (all cookies, credentials and proxy credentials). 
     */ 
    public void clear() { 
        clearCookies(); 
        clearCredentials(); 
        clearProxyCredentials(); 
    } 
}