ArraySet.RemoveIf(IPredicate) Method

Definition

Removes all values that satisfy the predicate.

[Android.Runtime.Register("removeIf", "(Ljava/util/function/Predicate;)Z", "", ApiSince=29)]
public bool RemoveIf (Java.Util.Functions.IPredicate? filter);
[<Android.Runtime.Register("removeIf", "(Ljava/util/function/Predicate;)Z", "", ApiSince=29)>]
abstract member RemoveIf : Java.Util.Functions.IPredicate -> bool
override this.RemoveIf : Java.Util.Functions.IPredicate -> bool

Parameters

filter
IPredicate

A predicate which returns true for elements to be removed

Returns

Implements

Attributes

Remarks

Removes all values that satisfy the predicate. This implementation avoids using the #iterator().

Java documentation for android.util.ArraySet.removeIf(java.util.function.Predicate<? super E>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to