Code example for HashMap

Methods: clear

0
    private void setDirty() { 
        mDirty = true;
    } 
 
    private void clearState() { 
        mInputDevices.clear();
    } 
 
    private void load() { 
        clearState(); 
 
        final InputStream is;
        try { 
            is = mAtomicFile.openRead();
        } catch (FileNotFoundException ex) {
            return; 
        } 
 
        XmlPullParser parser;
        try { 
            parser = Xml.newPullParser();