1.Array ArrayList
String[] ss = new String[]{"A","B","C"}; ArrayList<String[]> arrList = new ArrayList<String[]>(); arrList.add(ss);
2.set map
HashSet<String> hs = new HashSet<String>();//往里面添加元素的时候去重了已经,不存在重复 HashMap<Integer,String> hp = new HashMap<Integer,String>();//key不可重复,value可以重复