Condividi tramite


IPredicate.IsEqual(Object) Method

Definition

Returns a predicate that tests if two arguments are equal according to Objects#equals(Object, Object).

[Android.Runtime.Register("isEqual", "(Ljava/lang/Object;)Ljava/util/function/Predicate;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.Functions.IPredicate? IsEqual (Java.Lang.Object? targetRef);
[<Android.Runtime.Register("isEqual", "(Ljava/lang/Object;)Ljava/util/function/Predicate;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member IsEqual : Java.Lang.Object -> Java.Util.Functions.IPredicate

Parameters

targetRef
Object

the object reference with which to compare for equality, which may be null

Returns

a predicate that tests if two arguments are equal according to Objects#equals(Object, Object)

Attributes

Remarks

Returns a predicate that tests if two arguments are equal according to Objects#equals(Object, Object).

Java documentation for java.util.function.Predicate.isEqual(java.lang.Object).

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