📜  列表 java - TypeScript 代码示例

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

代码示例2
ArrayList> listOLists = new ArrayList>();
ArrayList singleList = new ArrayList();
singleList.add("hello");
singleList.add("world");
listOLists.add(singleList);

ArrayList anotherList = new ArrayList();
anotherList.add("this is another list");
listOLists.add(anotherList);