String[]转List
String[] arr = new String[]{"a","b","c"};
List<String> list = Arrays.asList(arr);
List<String>转String[]
List<String> list = new ArrayList<String>(); list.add("a"); list.add("b"); list.add("c"); String[] arr = list.toArray(new String[list.size()]);