Map
Java · 7 notes
- 5.4 Hashtablehistorical
Hashtable provides thread-safe key-value storage, implements Map, and supports cloning and serialization. These notes examine operations through class relationships.
- LinkedHashMaphistorical
LinkedHashMap uses a doubly linked list to maintain order on top of HashMap. These notes compare their structures and trace operations.
- Java Map Implementations Comparedhistorical
HashMap implementations differ between JDK 1.7 and 1.8. These notes compare collision handling, tree conversion, and concurrent resizing.
- Collections.synchronizedMaphistorical
SynchronizedMap wraps map operations in synchronization blocks. These notes connect it with SynchronizedList to examine synchronized wrappers.
- 5.24 TreeMaphistorical
TreeMap stores key-value pairs in a red-black tree with O(log N) basic operations. These notes examine key ordering and iteration.
- HashMap in JDK 7historical
JDK 1.7 HashMap derives bucket indexes from hashes and array length, then handles collisions with linked lists. These notes trace the related methods.
- HashMap in JDK 8historical
JDK 1.8 HashMap organizes key-value data with arrays, linked lists, and red-black trees. These notes trace its implementation through access behavior and class relationships.