Browse Source

Merge pull request #684 from Smarticles101/sieve-starter-implementation

sieve: create and validate starter implementation
Stuart Kent 9 years ago
parent
commit
55d0fa1d5b
2 changed files with 11 additions and 0 deletions
  1. 0
    0
      exercises/sieve/src/main/java/.keep
  2. 11
    0
      exercises/sieve/src/main/java/Sieve.java

+ 0
- 0
exercises/sieve/src/main/java/.keep View File


+ 11
- 0
exercises/sieve/src/main/java/Sieve.java View File

@@ -0,0 +1,11 @@
1
+import java.util.List;
2
+
3
+class Sieve {
4
+    Sieve(int maxPrime) {
5
+        throw new UnsupportedOperationException("Delete this statement and provide your own implementation.");
6
+    }
7
+
8
+    List<Integer> getPrimes() {
9
+        throw new UnsupportedOperationException("Delete this statement and provide your own implementation.");
10
+    }
11
+}