add
Adds the specified element to this filter. Returns true if e was successfully added to the filter, false if this is definitely not the case, as would be the case when the filter becomes saturated. Saturation may occur even if sizeLong
< capacity, e.g. if e has already been added 2*b times to the cuckoo filter, it will have saturated the number of entries per bucket (b) allocated within the filter and a subsequent invocation will return false. A return value of true ensures that contains given e will also return
true.
Return
true if e was successfully added to the filter, false if this is definitely not the case
Parameters
e
element to be added to this filter
See also
Throws
if the specified element is null