Point.equals

Point.equals

Class Overview | Class Members | This Package | All Packages

Syntax
public boolean equals( Object obj )
Parameters
obj
an object to be compared with this point.
Returns
true if the object to be compared is an instance of Point and has the same values; false otherwise.
Description
Determines whether two points are equal. Two instances of Point are equal if the values of their x and y member fields, representing their position in the coordinate space, are the same.

Overrides
equals in class Object