摘要: 一、List转数组方法一、使用for循环//要转换的list集合List testList = new ArrayList(){{add(“aa”);add(“bb”);add(“cc”);}}; //初始化需要得到的数组 String[] array = new String[testList.s 阅读全文
posted @ 2022-03-15 17:18 岁月记忆 阅读(43395) 评论(0) 推荐(0)