随笔分类 - 集合
摘要:1 /**从列表中移除指定 collection 中包含的所有元素。 2 * 3 */ 4 @Test 5 public void test04(){ 6 List<String>mother = new ArrayList<String>(); 7 mother.add("准备拍摄"); //向列
阅读全文
摘要:/**首先,该方法是将数组转化为list。有以下几点需要注意: (1)该方法不适用于基本数据类型(byte,short,int,long,float,double,boolean) (2)该方法将数组与列表链接起来,当更新其中之一时,另一个自动更新 (3)不支持add和remove方法 */ @Te
阅读全文
浙公网安备 33010602011771号