Просмотр исходного кода

hamming: standardize starter implementation

Stuart Kent 9 лет назад
Родитель
Сommit
d9948851e1
1 измененных файлов: 9 добавлений и 0 удалений
  1. 9
    0
      exercises/hamming/src/main/java/Hamming.java

+ 9
- 0
exercises/hamming/src/main/java/Hamming.java Просмотреть файл

@@ -1,2 +1,11 @@
1 1
 public class Hamming {
2
+
3
+    Hamming(String leftStrand, String rightStrand) {
4
+        throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
5
+    }
6
+
7
+    int getHammingDistance() {
8
+        throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
9
+    }
10
+
2 11
 }