Pārlūkot izejas kodu

Merge pull request #880 from mortenaa/MatrixAddStubs

Added stubs to Matrix #547
FridaTveit 9 gadus atpakaļ
vecāks
revīzija
68f9c30acb
1 mainītis faili ar 23 papildinājumiem un 0 dzēšanām
  1. 23
    0
      exercises/matrix/src/main/java/Matrix.java

+ 23
- 0
exercises/matrix/src/main/java/Matrix.java Parādīt failu

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
+}