public interface Membership
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all of the elements from this collection.
|
static Membership |
disabled()
Returns an instance that contains nothing.
|
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. |
boolean mightContain(long e)
false if this
is definitely not the case.e - the element whose presence is to be testedvoid clear()
boolean put(long e)
true.e - the element to addstatic Membership disabled()