Language

JavaException.Equals(Object) Method

Definition

Tests whether another managed peer refers to the same Java object.

public override bool Equals(object? obj);
override this.Equals : obj -> bool

Parameters

obj
Object

The object whose Java peer is to be compared with this instance.

Returns

true if obj is this instance or an IJavaPeerable for the same Java object; otherwise, false.

Remarks

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