public class XY
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
XY() |
Modifier and Type | Method and Description |
---|---|
XY |
clone() |
int |
getX() |
int |
getY() |
void |
setX(int x) |
void |
setY(int y) |
public XY clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public int getX()
public void setX(int x)
x
- the x to setpublic int getY()
public void setY(int y)
y
- the y to set