Java Utililty Methods ArrayList to Array

List of utility methods to do ArrayList to Array

Description

The list of methods to do ArrayList to Array are organized into topic(s).

Method

String[]toStringArray(ArrayList src)
to String Array
String[] ret = new String[src.size()];
return src.toArray(ret);
ArrayListtoStringArrayList(final Object... array)
to String Array List
final ArrayList<String> retValue = new ArrayList<String>();
for (final Object item : array)
    retValue.add(item.toString());
return retValue;