|
|
@@ -1,24 +1,23 @@
|
|
1
|
|
-import java.util.regex.Pattern;
|
|
2
|
1
|
|
|
3
|
|
-public class Matrix {
|
|
|
2
|
+class Matrix {
|
|
4
|
3
|
|
|
5
|
|
- public Matrix(String matrixAsString) {
|
|
|
4
|
+ Matrix(String matrixAsString) {
|
|
6
|
5
|
throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
|
|
7
|
6
|
}
|
|
8
|
7
|
|
|
9
|
|
- public int[] getRow(int rowNumber) {
|
|
|
8
|
+ int[] getRow(int rowNumber) {
|
|
10
|
9
|
throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
|
|
11
|
10
|
}
|
|
12
|
11
|
|
|
13
|
|
- public int[] getColumn(int columnNumber) {
|
|
|
12
|
+ int[] getColumn(int columnNumber) {
|
|
14
|
13
|
throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
|
|
15
|
14
|
}
|
|
16
|
15
|
|
|
17
|
|
- public int getRowsCount() {
|
|
|
16
|
+ int getRowsCount() {
|
|
18
|
17
|
throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
|
|
19
|
18
|
}
|
|
20
|
19
|
|
|
21
|
|
- public int getColumnsCount() {
|
|
|
20
|
+ int getColumnsCount() {
|
|
22
|
21
|
throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
|
|
23
|
22
|
}
|
|
24
|
23
|
}
|