兩個List集合取交集、並集、差集 list1.removeAll(list2):從list1中移除存在list2中的元素。 調用流程:removeAll->contains->equals方法,對於引用類型,要使用 ...