集合 性能表格以及总结

Collection 下有2个子类

List                         Set

ArrayList            LinkedList

查询和遍历性能较好  插入和删除 

Set下 

HashSet        TreeSet 

 哈希算法存储     二叉树存储

map里面的key不会重复,如果添加重复元素 会覆盖

原文地址:https://www.cnblogs.com/shanheyongmu/p/4905367.html