Language

SocketPermission.Equals(Object) Method

Definition

Checks whether the other object is the same Java object as this permission.

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

Parameters

other
Object

The object to compare with this permission.

Returns

true if other is the same Java object as this permission; otherwise, false.

Attributes

Remarks

On Android, this method uses object identity because the implementation inherits equals from java.lang.Object.

Java reference for java.net.SocketPermission.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