Delete Point.java
This commit is contained in:
parent
c375edf0ed
commit
dad2e25ac4
32
Point.java
32
Point.java
@ -1,32 +0,0 @@
|
|||||||
package sig;
|
|
||||||
|
|
||||||
public class Point {
|
|
||||||
int x,y;
|
|
||||||
|
|
||||||
public Point(int x, int y) {
|
|
||||||
super();
|
|
||||||
this.x = x;
|
|
||||||
this.y = y;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getX() {
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setX(int x) {
|
|
||||||
this.x = x;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getY() {
|
|
||||||
return y;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setY(int y) {
|
|
||||||
this.y = y;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return "Point(" + x + "," + y + ")";
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user