Color.equals

Overview | Methods | Fields | This Package | All Packages

Color.equals

Retrieves a boolean value that indicates whether the specified object is equivalent to this Color object.

Syntax

public boolean equals( Object obj )

Parameters

obj

The object to compare to this one.

Return Value

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

Remarks

If the object you specify is not a Color object, or the colors do not match, this method returns false.