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.
obj | an object to be compared with this Point2D |
true if the object to be compared is
an instance of Point2D and has
the same values; false otherwise.
Diagram: Point