Explorar el Código

Merge pull request #880 from mortenaa/MatrixAddStubs

Added stubs to Matrix #547
FridaTveit hace 9 años
padre
commit
68f9c30acb
Se han modificado 1 ficheros con 23 adiciones y 0 borrados
  1. 23
    0
      exercises/matrix/src/main/java/Matrix.java

+ 23
- 0
exercises/matrix/src/main/java/Matrix.java Ver fichero

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