Java
234 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Stringhistorical
1. What String is. 2. Usage. 3. Source analysis: class definition, constructors, constant pool, equals, toCharArray, toString, valueOf, intern, and substring. 4. Common questions. 5. References.
- 5.10 LinkedListhistorical
What LinkedList is, usage, and source analysis of its doubly linked list, add/remove operations, and node traversal.
- LinkedHashMaphistorical
What LinkedHashMap is, insertion-order and access-order usage, and source analysis of construction, put, get, contains, remove, and iteration.
- StringBufferhistorical
1. What It Is: a thread-safe mutable string, essentially StringBuilder with synchronized methods. 2. Usage. 3. Implementation analysis: constructor, append, toString, and substring.
- Java Map Implementations Comparedhistorical
Comparison of HashMap 1.7 and 1.8, HashMap and Hashtable, and TreeMap, LinkedHashMap, and HashMap.
- Collections.synchronizedSethistorical
Synchronized Set wrappers and the need for external synchronization during compound operations and iteration.
- StringBuilderhistorical
1. What It Is: a mutable, thread-unsafe string. 2. Usage. 3. Implementation analysis: constructor, append, toString, and substring.