Dil

BasicPermission.Equals(Object) Method

Definition

Checks two BasicPermission objects for equality.

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

Parameters

obj
Object

the object we are testing for equality with this object.

Returns

true if obj's class is the same as this object's class and has the same name as this BasicPermission object, false otherwise.

Attributes

Remarks

Checks two BasicPermission objects for equality. Checks that obj's class is the same as this object's class and has the same name as this object.

Java reference for java.security.BasicPermission.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