File tree 5 files changed +60
-0
lines changed
5 files changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ bin
2
+ .DS_Store
3
+ .metadata
Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change
1
+ package bloom ;
2
+
3
+ public class Main {
4
+
5
+ public static void main (String [] args ) {
6
+
7
+
8
+ }
9
+ }
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments