copying: deep vs shallow copy module (clone() traps, copy constructors, serialization copy, records, defensive copies, collection copies), 17 contract tests
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4X2xx7RrveVQU9R1N
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
copyOf(immutable list) is the same instance : true
|
||||
copyOf(unmodifiableList view) is the same instance : false
|
||||
copyOf with a null element throws : NullPointerException
|
||||
Reference in New Issue
Block a user