IPredicate.And(IPredicate) Method

Definition

Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.

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

Parameters

other
IPredicate

a predicate that will be logically-ANDed with this predicate

Returns

IPredicate

a composed predicate that represents the short-circuiting logical AND of this predicate and the other predicate

Attributes

Remarks

Java documentation for java.util.function.Predicate.and(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.

Applies to