Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java String Array without implicit size

Name: Anonymous 2008-02-19 7:36

hey people

I'm trying to get strings from a text inside a String array without implicit size

as if: cycle where method reads a line then stores into the array

Name: Anonymous 2008-02-19 17:53

>>9
char [] s = alist.get(i).toCharArray() would be shorter. Either way, the basic idea is the same.
Just use ArrayList.set(int, Object) to update the String in the ArrayList when you're done with it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List