Java: change an element in a prepopulated List of string array.
Posted
by battousai622
on Stack Overflow
See other posts from Stack Overflow
or by battousai622
Published on 2010-06-08T00:27:19Z
Indexed on
2010/06/08
0:32 UTC
Read the original article
Hit count: 227
I have a List of string array already populated in storeInv. How do i change a specific element in the string array? For example the code below...
Thanks =]
List <String[]> storeInv ; //assume already populated with elements
String[] store = storeInv.get(5);
store[1] = 123;
store.set(5, store[1]); //this gives me an error.
© Stack Overflow or respective owner