Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created by Сергей on 20.05.2016.
- */
- public class Pair {
- int x;
- int y;
- public Pair(int x, int y) {
- this.y = y;
- this.x = x;
- }
- public int getY() {
- return y;
- }
- public void setY(int y) {
- this.y = y;
- }
- public int getX() {
- return x;
- }
- public void setX(int x) {
- this.x = x;
- }
- }
Add Comment
Please, Sign In to add comment