Java
229 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 5.3 ArrayListhistorical
ArrayList is a resizable array-backed list that preserves order and allows duplicates. These notes trace its implementation through class relationships and the backing array.
- 5.4 Hashtablehistorical
Hashtable provides thread-safe key-value storage, implements Map, and supports cloning and serialization. These notes examine operations through class relationships.
- Objecthistorical
Object provides basic methods such as getClass, hashCode, and equals. These notes connect them with runtime types and hash-container usage.
- PriorityQueuehistorical
PriorityQueue orders elements by priority rather than insertion order alone. These notes examine ordering rules and internal operations through examples.
- 5.7 Serializablehistorical
Serialization stores or transmits memory objects, while deserialization restores them. These notes examine Serializable and its read and write methods.
- 5.8 HashSethistorical
HashSet uses HashMap to store distinct elements. These notes examine set operations and source code through its structure.
- Stringhistorical
String represents immutable strings that can be shared across threads. These notes examine the implementation of immutability and related operations.
- 5.10 LinkedListhistorical
LinkedList is a doubly linked list that preserves order, allows duplicates, and supports deque operations. These notes examine its structure and operations.
- LinkedHashMaphistorical
LinkedHashMap uses a doubly linked list to maintain order on top of HashMap. These notes compare their structures and trace operations.
- Immutable Objecthistorical
Immutable objects do not change state after construction. These notes examine constraints such as final classes and fields when constructing them.