"b1"));userList.add(newUser("a2","b2"));//创建临时集合,通过addAll方法复制userList集合List<User>temp=newArrayList<>();temp.addAll(userList);userList.get(0).setA("修改AAA000");userList.get(0).setB("修改BBB000");System.out.println("userList : ...