Newbie Java array question

Status
You're currently viewing only pyu's posts. Click here to go back to viewing the entire thread.
Not open for further replies.

pyu

Ars Praefectus
5,108
Subscriptor
You can use the System.arraycopy method if you want. But as others have mentioned, why bother? Just use a class from the Collections package which supports resizing when it hits some predefined resizing threshold. :)

Once u know that in and out and realize the pitfalls of the JVM and Java itself, you might want to give Google's version of Collections a try or pick up a functional programming language or two.
 
Status
You're currently viewing only pyu's posts. Click here to go back to viewing the entire thread.
Not open for further replies.