数组与list 之间的转换

LabelValueBean[] beans = payYesrDropLists.toArray(new LabelValueBean[payYesrDropLists.size()]);

new ArrayList<LabelValueBean>(Arrays.asList(beans));
 

你可能感兴趣的:(java,toArray)