Parcourir la source

sieve: create and validate starter implementation according to POLICIES.md

Smarticles101 il y a 9 ans
Parent
révision
9bdcee50a6
Aucun compte lié à l'adresse email de l'auteur
2 fichiers modifiés avec 11 ajouts et 0 suppressions
  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 Voir le fichier


+ 11
- 0
exercises/sieve/src/main/java/Sieve.java Voir le fichier

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