Share via


Charset.Equals(Object) Method

Definition

Tells whether or not this object is equal to another.

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

Parameters

ob
Object

Returns

true if, and only if, this charset is equal to the given object

Attributes

Remarks

Tells whether or not this object is equal to another.

Two charsets are equal if, and only if, they have the same canonical names. A charset is never equal to any other type of object.

Java documentation for java.nio.charset.Charset.equals(java.lang.Object).

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