List<String> list = new ArrayList<String>();
String[] array = new String[10];
1.数组转成List
list = java.util.Arrays.asList(array);
2.List转成数组
array = org.springframework.util.StringUtils.toStringArray(list);
List<String> list = new ArrayList<String>();
String[] array = new String[10];
1.数组转成List
list = java.util.Arrays.asList(array);
2.List转成数组
array = org.springframework.util.StringUtils.toStringArray(list);