Code example for Hashtable

Methods: clear

0
        super.clear(); 
        if (MAX <= len)
        { 
            // if we have had enough attributes and are 
            // using the Hashtable, then clear the Hashtable too. 
            m_indexFromQName.clear();
        } 
 
    } 
 
    /** 
     * This method sets the attributes, previous attributes are cleared, 
     * it also keeps the hashtable up to date for quick lookup via 
     * getIndex(qName). 
     * @param atts the attributes to copy into these attributes. 
     * @see org.xml.sax.helpers.AttributesImpl#setAttributes(Attributes) 
     * @see #getIndex(String) 
     */ 
    public final void setAttributes(Attributes atts)
    { 
Connect your IDE to all the code out there  Get Codota for Java