Skip to content

Commit 1a7f8ff

Browse files
committed
simple start
1 parent 298575f commit 1a7f8ff

File tree

5 files changed

+60
-0
lines changed

5 files changed

+60
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
bin
2+
.DS_Store
3+
.metadata

bloom/.classpath

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5+
<classpathentry kind="output" path="bin"/>
6+
</classpath>

bloom/.project

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>bloom</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.jdt.core.javanature</nature>
16+
</natures>
17+
</projectDescription>

bloom/src/bloom/Main.java

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package bloom;
2+
3+
public class Main {
4+
5+
public static void main(String[] args) {
6+
7+
8+
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package bloom.filters;
2+
3+
public class InvertibleBloomFilter {
4+
5+
private int hashCount;
6+
private int size;
7+
8+
public InvertibleBloomFilter(int hashCount, int size){
9+
this.hashCount = hashCount;
10+
this.size = size;
11+
}
12+
13+
public boolean insert(String key){
14+
return true;
15+
}
16+
17+
public boolean remove(String key){
18+
return true;
19+
}
20+
21+
public boolean find(String key){
22+
return true;
23+
}
24+
25+
}

0 commit comments

Comments
 (0)