IPredicate.Not(IPredicate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a predicate that is the negation of the supplied predicate.
[Android.Runtime.Register("not", "(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;", "", ApiSince=33)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.Functions.IPredicate? Not (Java.Util.Functions.IPredicate? target);
[<Android.Runtime.Register("not", "(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;", "", ApiSince=33)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member Not : Java.Util.Functions.IPredicate -> Java.Util.Functions.IPredicate
Parameters
- target
- IPredicate
predicate to negate
Returns
a predicate that negates the results of the supplied predicate
- Attributes
Remarks
Returns a predicate that is the negation of the supplied predicate. This is accomplished by returning result of the calling target.negate()
.
Added in 11.
Java documentation for java.util.function.Predicate.not(java.util.function.Predicate<? super T>)
.
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.