Java中List转换为数组,数组转List
摘要:
ArrayList list=new ArrayList(); String[] strings = new String[list.size()]; list.toArray(strings); String[] s = {"a","b","c"}; List list = java.util.Arrays.asList(s); 阅读全文
posted @ 2017-05-31 17:14 神啊bin 阅读(208) 评论(0) 推荐(0) 编辑