Java中的几种集合的区别及适用场景

概述: list,set,map都是接口,前两个继承至Collection接口,Map为独立接口 Set下有HashSet,LinkedHashSet,TreeSet List下有ArrayList,Vector,LinkedList Map下有Hashtable,LinkedHashMap,HashMap,TreeMap Collection接口下有个Queue接口,有PriorityQueue
相关文章
相关标签/搜索