搜索资源列表
testMapAndList
- map和list对象性能测试,比较了map,linkedHashMap,list,LinkedList在10万条数据测试下不同的性能-test of map and list
SimpleLRUalgorithm
- 最简单的LRU算法实现,就是利用jdk的LinkedHashMap,覆写其中的removeEldestEntry(Map.Entry)方法即可-Simple LRU algorithm is to use jdk' s LinkedHashMap, override one of the removeEldestEntry (Map.Entry) method can be