if(list = = null?||?list . size()= = 0 ){
回歸?null
}
對象【】?數組?=?新的?object【list . size()】;
for(int?I = 0;我& ltlist . size();i++){
array【I】=?list . get(I);
回歸?數組;?