Refactored BloomFilter's BitArray class to make it common across filters. That involved making it public, so all the methods in the abstract base class now have a javadoc.
BitArray now has getBits(index, numBits) and setBits(index, numBits, value) (where the max size is 64 bits) as well as assignBit(index, value). The QuotientFilter has been updated to use this class, and the old Bitmap wrapping some legacy CERN code has been removed.
Opening this against the reviewed branch, but we probably then want to merge back into quotient-filter after that?
Refactored BloomFilter's
BitArray
class to make it common across filters. That involved making it public, so all the methods in the abstract base class now have a javadoc.BitArray now has
getBits(index, numBits)
andsetBits(index, numBits, value)
(where the max size is 64 bits) as well asassignBit(index, value)
. The QuotientFilter has been updated to use this class, and the old Bitmap wrapping some legacy CERN code has been removed.Opening this against the reviewed branch, but we probably then want to merge back into quotient-filter after that?