List of utility methods to do ArrayList to Array
String[] | toStringArray(ArrayList to String Array String[] ret = new String[src.size()]; return src.toArray(ret); |
ArrayList | toStringArrayList(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; |