Collection/Map 接口 成员重复性 元素存放顺序(Ordered/Sorted) 元素中被调用的方法 基于那中数据结构来实现的
HashSet Set Unique elements No order equals() hashCode() Hash 表
LinkedHashSet Set Unique elements Insertion order equals() hashCode() Hash表和双向链表
TreeSet SortedSet Unique elements Sorted equals()
compareTo() 平衡树(Balanced tree)
ArrayList List Allowed Insertion order equals() 数组
LinkedList List Allowed Insertion order equals() 链表
Vector List Allowed Insertion order equals() 数组
HashMap Map Unique keys No order equals()
hashCode() Hash 表
LinkedHashMap Map Unique keys Key insertion order/Access order of entries equals()
hashCode() Hash 表和双向链表
Hashtable Map Unique keys No order equals()
hashCode() Hash 表
TreeMap SortedMap Unique keys Sorted in key order equals()
compareTo() 平衡树(Balanced tree)
分享到:
相关推荐
NULL 博文链接:https://javazeke.iteye.com/blog/487275
Java集合Collection、List、Set、Map使用详解
Java集合排序及java集合类详解 (Collection, List, Set, Map)
Collection,List,Set和_Map用法和区别
Collection、Map、List、Set、Iterator
Collection集合下,有List,Set这些接口,这些接口有哪些区别,什么情况下可以使用呢。Map集合该如何使用呢,如何遍历呢?
Collection – 对象之间没有指定的顺序,允许重复元素。 Set – 对象之间没有指定的顺序,不允许重复元素 List– 对象之间有指定的顺序,允许重复元素,并引入位置...Map 接口既不继承 Set 也不继承 Collection。
Java集合Collection、List、Set、Map使用详解
Java集合排序及java集合类详解(Collection、List、Map、Set)
Java集合排序及java集合类详解(Collection、List、Map、Set).doc
java集合的详解,collection,list,set,map疑难解答,对于对容器似懂非懂的新手来说,这无疑是给你指点迷津的一个非常不错的选择,讲解内容丰富。
Java集合Collection、List、Set、Map使用详解.pdf
Java集合排序及java集合类详解(Collection、List、Map、Set
Java集合Collection、List、Set、Map使用详解.doc
java集合collection、list、set、map使用详解.doc