![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 87
清欢君
这个作者很懒,什么都没留下…
展开
-
Java Collections Framework(2) -List
List:a List is an ordered collection, and unlike a set, the list typically allow duplicate elements.ArrayList1.内部通过数组实现,允许对元素进行快速随机访问,缺点是每个元素之间不能有间隔,需要有一个连续的内存空间,当capacity不足够时,需要将已有的数据复制到新原创 2013-06-18 22:24:52 · 491 阅读 · 0 评论 -
Java Collections Framework(3) Map
1.A Map is an object that maps keys to values. A map cannot contain duplicate keys, each key can at most map to one value.2.Map iuterface provides three collection views , which allow a map's conte原创 2013-06-23 13:56:26 · 567 阅读 · 0 评论 -
Java Collections Framework(4) Set
1. A set is a collection that contains no duplicate elements. More formally, sets contain no pair of elements e1 and e2 such that e1.equals(e2) , and at most one null elements.2. Some Set implementa原创 2013-06-23 14:23:21 · 595 阅读 · 0 评论