|
|
@@ -2,11 +2,11 @@ final class MatrixCoordinate {
|
|
2
|
2
|
|
|
3
|
3
|
private final int row;
|
|
4
|
4
|
|
|
5
|
|
- private final int column;
|
|
|
5
|
+ private final int col;
|
|
6
|
6
|
|
|
7
|
|
- MatrixCoordinate(final int row, final int column) {
|
|
|
7
|
+ MatrixCoordinate(final int row, final int col) {
|
|
8
|
8
|
this.row = row;
|
|
9
|
|
- this.column = column;
|
|
|
9
|
+ this.col = col;
|
|
10
|
10
|
}
|
|
11
|
11
|
|
|
12
|
12
|
// Generated equals and hashcode.
|
|
|
@@ -18,13 +18,13 @@ final class MatrixCoordinate {
|
|
18
|
18
|
|
|
19
|
19
|
final MatrixCoordinate that = (MatrixCoordinate) o;
|
|
20
|
20
|
|
|
21
|
|
- return row == that.row && column == that.column;
|
|
|
21
|
+ return row == that.row && col == that.col;
|
|
22
|
22
|
}
|
|
23
|
23
|
|
|
24
|
24
|
@Override
|
|
25
|
25
|
public int hashCode() {
|
|
26
|
26
|
int result = row;
|
|
27
|
|
- result = 31 * result + column;
|
|
|
27
|
+ result = 31 * result + col;
|
|
28
|
28
|
return result;
|
|
29
|
29
|
}
|
|
30
|
30
|
|