集合转数组:
list.toArray();
数组转集合:
ArrayList<String> arrayList = new ArrayList<String>(Arrays.asList(数组));