1.数组转list
List<int> a = new ArrayList<int>(); int[] b = new int(a.size()); int[] c = a.toArray(b);
2.list转数组
String[] strg = {"1","2"}; List<String> b = Arrays.asList(strg);