ObjectSet#removeAll variant
@@ -193,6 +193,12 @@ public class ObjectSet<T> implements Iterable<T>, Eachable<T>{
remove(array[i]);
}
+ public void removeAll(T[] array){
+ for(T t : array){
+ remove(t);
+ }
+ }
+
public void removeAll(Seq<? extends T> array){
removeAll(array.items, 0, array.size);
}
