Chapter13Collections和Collection.pptVIP

  • 6
  • 0
  • 约小于1千字
  • 约 45页
  • 2017-04-29 发布于天津
  • 举报
Chapter13Collections和Collection.ppt

Chapter 13 Collections 和 Collection;主要内容;Collection 和 Collections的区别;Collection接口;Collection 接口的方法;Collections 类;Arrays class ;Filling an array ;Comparing arrays ;指定数组的列表视图 ;Array element comparisons ;Searching a sorted array ;Vector向量;创建Vector类的对象;Stack类;java.util的集合接口;Iterator迭代;Example;Con.;Con.;Set, SortSet, List接口;Set和SortedSet接口;HashSet类;TreeSet类;LinkedHashSet类;;List接口;ArrayList类;LinkedList类;ListExample;Map接口: 没有重复元素 储存的元素是一对 键值(Key)和值(Value) 单方向对应,键值可以对应其值 例如:域名对应IP位址。 SortedMap接口: 其储存元素没有重复,而且是以键值由小到大进行排序。;HashMap 类;LinkedHashMap类;TreeMap 类 ;MapSortExample;Note;Example;output;;Note;E

文档评论(0)

1亿VIP精品文档

相关文档