📜  java list to array - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:29.806000             🧑  作者: Mango

代码示例6
List list = new ArrayList<>();
Foo[] array = list.toArray(new Foo[0]);