Hi, I've got some problems with the cloneable interface
ArrayList with custom graphic-objects;
graphic-object -> ArrayList with vectors + array with vectors + one lonely vector
Now I would like to clone this arrayList. Until now, I wrote my own clone() method (I just call the construc. of the object with the param. of the object to create a new object and return it).
ButI would like to use arraylist.clone(), therefore I have to implement the cloneable interface. Is it faster then creating a new object? Googled said, that it could fail.
How would you copy the arrayList?