public final class GuavaBloomFilter extends Object implements Membership
| Constructor and Description |
|---|
GuavaBloomFilter(Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all of the elements from this collection.
|
boolean |
mightContain(long e)
Returns if the element might have been put in this Bloom filter,
false if this
is definitely not the case. |
boolean |
put(long e)
Puts an element into this collection so that subsequent queries with the same element will
return
true. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisabledpublic GuavaBloomFilter(Config config)
public boolean mightContain(long e)
Membershipfalse if this
is definitely not the case.mightContain in interface Membershipe - the element whose presence is to be testedpublic void clear()
Membershipclear in interface Membershippublic boolean put(long e)
Membershiptrue.put in interface Membershipe - the element to add