瀏覽代碼

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

Smarticles101 9 年之前
父節點
當前提交
9bdcee50a6
沒有帳戶連結到提交者的電子郵件
共有 2 個檔案被更改,包括 11 行新增0 行删除
  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 查看文件


+ 11
- 0
exercises/sieve/src/main/java/Sieve.java 查看文件

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