Microsoft SDK for Java

Point.equals

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

Syntax

public boolean equals( Object obj )

Parameters

obj

An object to compare to this one.

Return Value

Returns true if the specified object is equivalent to this one; otherwise, returns false.

Remarks

If the object specified in the obj parameter is not a Point object, this method returns false.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.