"Change is the Only Constant”. Really?
summary
Explains the precise difference between unmodifiability (Collections.unmodifiableX and Java 9 list.of) and true immutability, shows why defensive copying must be deep to stop clients mutating reachable object graphs, and demonstrates view collections (arrays.asList, subList) that delegate to backing data. Covers tradeoffs and costs: unsupportedOperationException, synchronization, and implementation size (Java CF ~30 core types vs Eclipse’s ~3,000). Recommends when to copy into unmodifiable collections for efficiency.
AI-written summary · about
chapters (5)
- 0:00Start
- 3:52Change is Bod!
- 18:40Making Immutability Reliable?
- 21:48Immutable Collections?
- 37:10Conclusion?








