Code example for Map

Methods: clear

0
     
    /** 
     * Resets the generated UUIDs and wipes out the shared pref file that houses them. 
     */ 
    public static synchronized void resetUuids() { 
        uuids.clear();
        final SharedPreferences sp = ForceApp.APP.getSharedPreferences(UUID_PREF, Context.MODE_PRIVATE);
        if (sp != null) {
            sp.edit().clear().commit();
        } 
    }    
}