Java tutorial
//package com.java2s; import java.util.Collection; public class Main { public static String[] toStringArray(Collection coll) { Object objects[] = coll.toArray(); int length = objects.length; String result[] = new String[length]; for (int i = 0; i < length; i++) result[i] = objects[i].toString(); return result; } }