boolean retainAll(Collection<?> c) 仅保留此 collection 中那些也包含在指定 collection 的元素(可选操作)。
取交集后集合1和集合2的元素变化.jpg (86.37 KB, 下载次数: 36)
下载附件
2015-4-12 23:08 上传