equals

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.

Return

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

Since

1.2

Parameters

obj

an object to be compared with this Point2D