cloner 1.0.0
cloner: ^1.0.0 copied to clipboard
Utilities for producing deep clones.
1.0.0 #
Initial version #
ICloneableandICopyablecontracts for custom deep/shallow copy supportClonerfacade with pluggable backendBaseClonerdefault implementation andICloninginterface for custom cloners- Element/value-wise deep cloning for
List,Set, andMap - Optional circular-reference detection
- Element/value-wise deep cloning for
- Collection extensions:
List.clone()/Set.clone()/Map.clone() MapClonetyped map wrapper for safe nested typed map cloning andcopy()/clone()helpers- Typed-clone safety checks and
UnsupportedTypedCloneExceptionfor unsupported typed scenarios - Preserves common concrete collection implementations (
LinkedHashMap,HashMap) where possible