SparseArray详解,我说SparseArray,你说要!

可能在Android 中使用HashMap 的时候看到过提示。 HashMap<Integer,Bitmap> mp = new HashMap<Integer,Bitmap>(); 提示:Use new SparseArray<Bitmap>(...) instead for better performance意思是,使用 SparseArray 将得到更好的性能 (注:这个提示我再eclip
相关文章
相关标签/搜索