public void clear ( ) { int n = mSize ; Object [ ] values = mValues ; for ( int i = 0 ; i < n ; i ++ ) { values [ i ] = null ; } mSize = 0 ; mGarbage = false ; }
Removes all key - value mappings from this SparseArray .