Rectangle.equals

Overview | Methods | Fields | ThisPackage | All Packages

Rectangle.equals

Retrieves a boolean value that indicates whether the specified object is identical to this rectangle.

Syntax

public boolean equals( Object obj )

Parameters

obj

The object to compare. This object must be a Rectangle object.

Return Value

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

Remarks

The specified object must be a Rectangle object instance.