List <Plant> copy = new ArrayList<>(list);. Since we're copying references here, and not cloning the objects, every amends made in one element ...
確定! 回上一頁