代码:
private Object[] ListToObject(List list){ Object [] tem = new Object[]{}; int size = list.size(); String[] arr = new String[size]; tem = list.toArray(arr);//将转化后的数组放入已经创建好的对象中 return tem; }
查看原文
手机扫一扫
移动阅读更方便
你可能感兴趣的文章
4
5
6
7
8
9
10