Language

FilePermission.Equals(Object) Method

Definition

Indicates whether the specified object is equal to this permission.

[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 is equal to this permission; otherwise, false.

Attributes

Remarks

FilePermission does not override equals. This method uses the identity comparison of java.lang.Object.equals and does not compare path names or actions.

Java reference for java.io.FilePermission.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