Java容器
一、容器填充:Collections.fill() 限制:1.只能填充list对象 2.填充的数据相同 3.只能替换现有的元素信息,无法增加list元素
二、LRU算法 new LinkedHashMap(16, 0.75, true)
三、逆转容器的元素顺序:Collections.reverse()
四、容器元素向后移动distance个位置:Collections.rotate(List, int)
五、交换List中位置i与位置j的元素:Collections.swap(List, int, int)