Language

AllPermission.Equals(Object) Method

Definition

Indicates whether another object is equal to this instance.

[Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "")]
public override bool Equals(Java.Lang.Object? obj);
[<Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "")>]
override this.Equals : Java.Lang.Object -> bool

Parameters

obj
Object

the object we are testing for equality with this object.

Returns

true if obj refers to the same Java object; otherwise, false.

Attributes

Remarks

On Android, this method compares Java object identity.

Java reference for java.security.AllPermission.equals.

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