<T> T[] toArray(T[] a); String[] a = list.toArray(new String[list.length()]); 转载于:https://www.cnblogs.com/zjlog/p/5582322.html