Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

arraycopy an ArrayList

807601Apr 5 2008 — edited Apr 5 2008
Hi there,

I was just wondering the best way of using System.arraycopy to copy an ArrayList.
My ArrayList contains a list of customised Objects. Just a quick little bit of code would be great.

thanks

edit: the reason I ask this is because I'm unsure how to deal with it as it holds my own customised Objects.

Edited by: JonBetts2004 on Apr 5, 2008 11:09 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2008
Added on Apr 5 2008
5 comments
1,328 views