public static bool removeIf(Collection @this, java.util.function.Predicate predicate) { java.util.Iterator i = @this.iterator(); bool didremove = false; while (i.hasNext()) { object o = i.next(); if (predicate.test(o)) { didremove = true; i.remove(); } } return(didremove); }
public static bool RemoveIf(Collection <V> @this, java.util.function.Predicate predicate) { java.util.Iterator <V> i = @this.Iterator(); bool didremove = false; while (i.HasNext()) { object o = i.Next(); if (predicate.Test(o)) { didremove = true; i.Remove(); } } return(didremove); }
public virtual bool removeIf(java.util.function.Predicate predicate) { return(java.util.Collection_0009.removeIf(this, predicate)); }
public virtual bool RemoveIf(java.util.function.Predicate predicate) { return(java.util.Collection_Java <V> .RemoveIf(this, predicate)); }