Https://www.cnblogs.com/CarpenterLee/p/5545987.html
Introduction
There are many books and materials about the C + + Standard Template Library, STL , about the Java Collection Framework (Java Collections Framework, JCF) Very little information, and even difficult to find a book specifically to introduce it, this gives Java learners a little trouble. I am deeply puzzled by the reason. Although the JCF design reference STL, but its positioning is not the Java version of the STL, but to implement a thin and compact container framework , the introduction of STL naturally can not replace the introduction of JCF.
This series of articles mainly from the data structure and algorithm level analysis JCF in the list, Set, Map, Stack, queue and other typical containers, combined with vivid illustrations and source code, to help readers on the Java Collection framework to establish a clear and deep understanding . This article does not specifically describe the language features of Java, but will make a concise explanation when needed.
Contents
The details are arranged as follows:
- The Java Collections Framework Overview provides a basic introduction to the Java Collections Framework, as well as the Java language features.
- Java ArrayList Source code analysis combined with the source of ArrayList to explain.
- Java LinkedList Source code analysis combined with the source of LinkedList to explain.
- Java arraydeque Source analysis with Aarrydeque as an example to explain Stack and Queue.
- The clearest red-and-black tree in history (above) and the clearest red and black tree in history (below) are combined with the source code to explain TreeSet and TreeMap .
- Java HashSet and HASHMAP source code analysis combined with the source of HashSet and HashMap to explain.
- Java Collection Framework Source code Analysis: Linkedhashset and Linkedhashmap combined with the source of Linkedhashset and Linkedhashmap to explain.
- In-depth understanding of Java Priorityqueue combined with the source code to explain Priorityqueue .
- A brief talk on Weakhashmap to Weakhashmap to make Basic introduction.
In-depth understanding of the Java Collection Framework series articles