Java集合容器——List、Set、Map(详细解析)
List , Set, Map都是接口,前两个继承至Collection接口,Map为独立接口Set下有HashSet,LinkedHashSet,TreeSetList下有ArrayList,Vector,LinkedListMap下有Hashtable,LinkedHashMap,HashMap,TreeMapCollection接口下还有个Queue接口,有PriorityQueue类HashSet是怎么实现无序和不重复的有序、无序是指在进行插入操作时,插入位置的顺序...
原创
2020-05-30 14:22:43 ·
608 阅读 ·
0 评论