Pārlūkot izejas kodu

Added stubs to Matrix #547

Morten Nygaard Åsnes 9 gadus atpakaļ
vecāks
revīzija
5dba3e1ee0
1 mainītis faili ar 24 papildinājumiem un 0 dzēšanām
  1. 24
    0
      exercises/matrix/src/main/java/Matrix.java

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

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