代码改变世界

java collections读书笔记(1)综述

2013-06-12 09:19  很大很老实  阅读(164)  评论(0编辑  收藏  举报

学习任何一门语言,都不可避免的学习该语言环境下的数据结构。诸如:linked lists, queues, stacks, and binary trees等等。

而在java中,这些都是包含在:java collections framework中。

本书的组织结构:

Collection Classes的历史:当大家都在讨论基础性的诸如array, vector, and hash table等的操作时,我们讨论一些不太常见的东西,比如array reflection and optimization techniques。

   包含的章节有:

   Chapter 2: Arrays
   Chapter 3: The Vector and Stack Classes
   Chapter 4: The Enumeration Interface
   Chapter 5: The Dictionary, Hashtable, and Properties Classes
   Chapter 6: The BitSet Class

Java Collections Framework:这个框架是在java1.2引入的。

  Chapter 7: Collections Introduction
  Chapter 8: Sets
  Chapter 9: Lists
  Chapter 10: Maps
  Chapter 11: Sorting
  Chapter 12: Special Collections Support
  Chapter 13: Array Algorithm Support
  Chapter 14: Custom Implementations
  Chapter 15: Compatibility Issues
  Chapter 16: Advanced Usages

非正统的Collection类库:

  Chapter 17: JGL Libraries
  Chapter 18: util.concurrent
  Chapter 19: Colt

  实际上,我觉得,更应该学习学习apach的collections framework。