16 lines
350 B
Java
16 lines
350 B
Java
package rect;
|
|
|
|
import sourceAnnotations.ToString;
|
|
|
|
@ToString(includeName=false)
|
|
public class Point {
|
|
private int x;
|
|
private int y;
|
|
public Point(int x, int y) {
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
@ToString(includeName=false) public int getX() { return x; }
|
|
@ToString(includeName=false) public int getY() { return y; }
|
|
}
|