How can I make a resizable array in Java?
Posted
by Soren Johnson
on Stack Overflow
See other posts from Stack Overflow
or by Soren Johnson
Published on 2010-04-06T00:35:59Z
Indexed on
2010/04/06
0:43 UTC
Read the original article
Hit count: 281
java
What is the best way to do a resizable array in Java? I tried using Vector, but that shifts all elements over by when when you do an insert, and I need an array that can grow but the elements stay in place. I'm sure there's a simple answer for this, but I still not quite sure.
© Stack Overflow or respective owner