I always have to look this up đ hence I take down here a note:
list.toArray(new String[list.size()]);
This converts an List, e.g. ArrayList to an Array with Strings. Of course the objects in the list must be Strings.
I always have to look this up đ hence I take down here a note:
list.toArray(new String[list.size()]);
This converts an List, e.g. ArrayList to an Array with Strings. Of course the objects in the list must be Strings.