ArrayList
1 | ArrayList list=new ArrayList(); |
1 | ArrayList list=new ArrayList(); |
LinkedList
1 | LinkedList list=new LinkedList(); |
HashMap
1 | HashMap<String, String> hm=new HashMap<String,String>(); |
HashSet
1 | HashSet hs=new HashSet(); |
其他
1 | List list=Arrays.asList(3,4,2,5,1,6,8); |
System.arraycopy(integers,0,newIntegersArray,0,integers.length);