Predicate.IsEqual(Object) 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.
Caution
Use 'Java.Util.Functions.IPredicate.IsEqual'. This class will be removed in a future release.
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" })]
[System.Obsolete("Use 'Java.Util.Functions.IPredicate.IsEqual'. This class will be removed in a future release.")]
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" })>]
[<System.Obsolete("Use 'Java.Util.Functions.IPredicate.IsEqual'. This class will be removed in a future release.")>]
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.