petek, 30. november 2007

Depp Copy of Objects

Ever wanted to do a clone of a Vector for example. You could use the clone() method on all objects that are in the Vector, but there are better solutions:
- Exploit Serialization To Perform Deep Copy
- Faster Deep Copies of Java Objects
- Low-Memory Deep Copy Technique for Java Objects

Whatever approach suits you best is the one for you. :)
Objavite komentar