摘要: 这段时间在研究Universal-Image-Loader 这个图片处理开源框架,这里主要分析一下它的LRU(Least Resently Used,最近最少使用算法)内存缓存的实现。 在UIL它提供的默认缓存类是LruMemoryCache,在它类上面有如下一段注释: 说明该缓存存储的是强引用的B 阅读全文
posted @ 2017-01-30 17:26 无天666 阅读(398) 评论(0) 推荐(0)
摘要: 今天上午在CSDN的论坛里看到有朋友提的问题如下: [java] view plain copy /** @param maxSize Maximum sum of the sizes of the Bitmaps in this cache */ public LruMemoryCache(int 阅读全文
posted @ 2017-01-30 13:10 无天666 阅读(4160) 评论(0) 推荐(0)