📜  java set get all not contain - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:09.108000             🧑  作者: Mango

代码示例1
System.out.println(collection1); // ["one", "two", "three"]
System.out.println(collection2); // ["two"]
collection1.removeAll(collection2); //["one", "three"]