Set
Java · 4 notes
- 5.8 HashSethistorical
HashSet uses HashMap to store distinct elements. These notes examine set operations and source code through its structure.
- LinkedHashSethistorical
LinkedHashSet organizes data with LinkedHashMap and uses a placeholder value. These notes examine how that relationship supports set operations.
- Collections.synchronizedSethistorical
SynchronizedSet wraps set operations with synchronized protection. These notes connect its wrapper with the implementations of synchronized collections.
- TreeSethistorical
TreeSet uses TreeMap to store distinct elements. These notes examine insertion, lookup, and iteration through the underlying method calls.