public boolean equals (Object obj)

Overriding: java.awt.geom.Point2D

Determines whether or not two points are equal. Two instances of Point2D are equal if the values of their x and y member fields, representing their position in the coordinate space, are the same.

Parameters:
obj    an object to be compared with this Point2D

Returns:  true if the object to be compared is an instance of Point2D and has the same values; false otherwise.