public class PointXY
extends java.lang.Object
| Constructor and Description |
|---|
PointXY(int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
PointXY |
add(int x,
int y) |
double |
distance(PointXY p2) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public final int x
public final int y
public static final PointXY ZERO