Share via


IPredicate.Negate Method

Definition

Returns a predicate that represents the logical negation of this predicate.

[Android.Runtime.Register("negate", "()Ljava/util/function/Predicate;", "GetNegateHandler:Java.Util.Functions.IPredicate, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public virtual Java.Util.Functions.IPredicate? Negate ();
[<Android.Runtime.Register("negate", "()Ljava/util/function/Predicate;", "GetNegateHandler:Java.Util.Functions.IPredicate, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Negate : unit -> Java.Util.Functions.IPredicate
override this.Negate : unit -> Java.Util.Functions.IPredicate

Returns

a predicate that represents the logical negation of this predicate

Attributes

Remarks

Returns a predicate that represents the logical negation of this predicate.

Java documentation for java.util.function.Predicate.negate().

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