D G P T

D

distanceTo(Point) - Method in class Point
Returns the distance from this point to the specified point.

G

getX() - Method in class Point
Returns the x-coordinate of this point.
getY() - Method in class Point
Returns the y-coordinate of this point.

P

Point - class Point.
A point consists of an x-coordinate and a y-coordinate.
Point(int, int) - Constructor for class Point
Creates a point with the specified x- and y-coordinate.

T

toString() - Method in class Point
Returns a string representation of this point.

D G P T