Support emptiness check on Bloom filters.

This commit is contained in:
Matthias Vallentin 2013-07-24 13:18:19 +02:00
parent 5736aef440
commit 5769c32f1e
9 changed files with 53 additions and 0 deletions

View file

@ -77,6 +77,12 @@ public:
*/
count_type Count(size_type cell) const;
/**
* Checks whether all counters are 0.
* @return `true` iff all counters have the value 0.
*/
bool AllZero() const;
/**
* Sets all counters to 0.
*/