根据http://android-performance.com/android/2014/02/10/android-sparsearray-vs-hashmap.html 这篇文章的描述
SparseArray 与 HashMap比较,在内存上进行了优化,还有对remove进行了优化,推荐使用。
根据http://android-performance.com/android/2014/02/10/android-sparsearray-vs-hashmap.html 这篇文章的描述
SparseArray 与 HashMap比较,在内存上进行了优化,还有对remove进行了优化,推荐使用。