【转】JAVA中list和原生数组的互相转换
摘要:经常用经常忘 转自 java List和数组相互转换的方法总结_javalist转为数组_great-sun的博客-CSDN博客 Java中,可以通过以下方法将List转换为数组: List<String> list = new ArrayList<>(); String[] array = lis
阅读全文
posted @ 2023-08-07 14:42
posted @ 2023-08-07 14:42