Deep clone utility recomendation
Posted
by Supowski
on Stack Overflow
See other posts from Stack Overflow
or by Supowski
Published on 2009-03-20T12:03:41Z
Indexed on
2010/04/23
14:13 UTC
Read the original article
Hit count: 229
Is there any utility for deep cloning for java collections:
- Arrays
- Lists
- Maps
NOTE: prefer some solution without usage of serialization, but with use of Object.clone() method. I can be sure that my custom object will implement clone() method and will use only java-standard classes that are cloneable...
© Stack Overflow or respective owner