File tree Expand file tree Collapse file tree
exercises/saddle-points/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ final class MatrixCoordinate {
22
33 private final int row ;
44
5- private final int column ;
5+ private final int col ;
66
7- MatrixCoordinate (final int row , final int column ) {
7+ MatrixCoordinate (final int row , final int col ) {
88 this .row = row ;
9- this .column = column ;
9+ this .col = col ;
1010 }
1111
1212 // Generated equals and hashcode.
@@ -18,13 +18,13 @@ public boolean equals(final Object o) {
1818
1919 final MatrixCoordinate that = (MatrixCoordinate ) o ;
2020
21- return row == that .row && column == that .column ;
21+ return row == that .row && col == that .col ;
2222 }
2323
2424 @ Override
2525 public int hashCode () {
2626 int result = row ;
27- result = 31 * result + column ;
27+ result = 31 * result + col ;
2828 return result ;
2929 }
3030
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ final class MatrixCoordinate {
22
33 private final int row ;
44
5- private final int column ;
5+ private final int col ;
66
7- MatrixCoordinate (final int row , final int column ) {
7+ MatrixCoordinate (final int row , final int col ) {
88 this .row = row ;
9- this .column = column ;
9+ this .col = col ;
1010 }
1111
1212 // Generated equals and hashcode.
@@ -18,13 +18,13 @@ public boolean equals(final Object o) {
1818
1919 final MatrixCoordinate that = (MatrixCoordinate ) o ;
2020
21- return row == that .row && column == that .column ;
21+ return row == that .row && col == that .col ;
2222 }
2323
2424 @ Override
2525 public int hashCode () {
2626 int result = row ;
27- result = 31 * result + column ;
27+ result = 31 * result + col ;
2828 return result ;
2929 }
3030
You can’t perform that action at this time.
0 commit comments