📜  如何初始化新集合 - Java 代码示例

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

代码示例1
Collection collection = 
    new ArrayList(Arrays.asList(new String[] { "1", "2", "3" }));