Locale.equals

Overview | Methods | This Package | All Packages

Locale.equals

Compares the current Locale object to the object assigned in the obj parameter.

Syntax

public boolean equals( Object obj )

Parameters

obj

The object to compare the current Locale object to.

Return Value

Returns true if the objects are logically equivalent; otherwise, returns false.

Remarks

Use this method to compare the object assigned to the obj parameter to the current Locale object. The method returns true if obj refers to a Locale object representing the same locale.