Code example for StringBuilder

Methods: appendtoString

0
 
    /** 
     * Rekey the database.  Force garbage collection to try and flush password from memory as quickly as possible. 
     */ 
    public void rekey(String password) {
        mDb.execSQL("PRAGMA rekey = '" + password + "'");
        System.gc();
    } 
 
    /** 
     * Close the database 
     */ 
    public void close() { 
        mDbHelper.close();
    } 
 
    public void initialPopulate() { 
            float now = (float) (System.currentTimeMillis()/1000);        
            add_new(0, 
                "Witness to the event", 
Stop searching for code, let great code find you!  Add Codota to your java IDE