Java Collection Framework
2014-04-18 04:55
253 查看
Java collection framework: is a set of classes and interfaces that implement commonly reusable collection data structures.
All collections frameworks contain the followings:
Interfaces: there are abstract data types that represent collections.
Implementations, ie Classes:concrete implementations of the collection interfaces. In essence, they are reusable data structure.
Algorithms: there are the method that perform useful computations.
List in java provides ordered and indexed collection which may contain duplicates.(ArrayList, LinkedList)
Set provides an unordered collection of unique objects. Sets do not allow duplicates. (linkedHashSet, TreeSet and HashSet)
Map provides a data structure based on key value pare and hashing.
All three List, Set and Map are interface in Java. and there are many concrete implementation of them are available in collection API.
All collections frameworks contain the followings:
Interfaces: there are abstract data types that represent collections.
Implementations, ie Classes:concrete implementations of the collection interfaces. In essence, they are reusable data structure.
Algorithms: there are the method that perform useful computations.
List in java provides ordered and indexed collection which may contain duplicates.(ArrayList, LinkedList)
Set provides an unordered collection of unique objects. Sets do not allow duplicates. (linkedHashSet, TreeSet and HashSet)
Map provides a data structure based on key value pare and hashing.
All three List, Set and Map are interface in Java. and there are many concrete implementation of them are available in collection API.
相关文章推荐
- Java Collection Framework
- java collection framework
- Java Collection的Framework
- Java Collection Framework 中List 和 Map遍历总结
- Java Collection Framework
- Java Collection Framework 之 ArrayList 源码解析
- 【转】java collection framework
- Java Collection Framework 中 ArrayList的实现
- Java Collection Framework
- Java Collection Framework 之集合概述
- Java Collection Framework : Collection 接口
- java collection framework 的一些比较使用的记录
- Java Collection Framework Test
- java collection framework
- Java Collection Framework 源码阅读笔记
- 设计: ListView 接口,and the missing read-only interfaces in java collection framework
- Java Collection Framework Test
- java collection framework
- Java Collection Framework
- Java Collection Framework