A good memory is better than a bad blog, the purpose of writing Java collection series of articles on the one hand, their own study, review and summary, on the other hand, if there is inappropriate, I hope to get everyone’s criticism. I have learned a lot of blogs and videos before writing technical articles. I would like to thank these creators who are willing to share. I also hope to get involved and carry forward the spirit of open source sharing. We are new to endless knowledge
I. General framework
Java collections are toolkits provided by Java that contain common data structures: collections, linked lists, queues, stacks, arrays, maps, and so on. Java Collections are divided into four main parts: Lists, sets, Maps, utility classes (Iterator iterators, Enumeration Enumeration classes, And Collections). Java Collection Toolkit framework diagram (below) :
Ii. Container classification
Java containers fall into two broad categories:
- Collection
- List
- ArrayList**
- LinkedList
- Vector
- Set
- HashSet
- LinkedHashSet
- TreeSet
- HashSet
- List
- Map
- HashMap
- LinkedHashMap
- TreeMap
- ConcurrentHashMap
- Hashtable
In order to express it more clearly, the following mind map is used to illustrate:
- HashMap
Resources: An overall framework for the Java Collection series 01
The Collection overview