java-scuola/NetBeans Projects/pile/src/pile/Pair.java

30 lines
526 B
Java

package pile;
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
/**
*
* @author giacomo
*/
public class Pair {
private int row;
private int column;
public Pair(int row, int column) {
this.row = row;
this.column = column;
}
public int getRow() {
return row;
}
public int getColumn() {
return column;
}
}