Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
4.x
-
None
-
None
Description
Bloom Filters have constructors that both define and create an initial entry. Defining both the collection and adding an initial entry in the constructor is not standard across the java collections.
This change is to remove the BloomFilter constructors that produce initial entries.
So the line
BloomFilter filter = new BitSetBloomFIlter( aHasher, aShape );
becomes
BloomFilter filter = new BitSetBloomFIlter( aShape );
filter.merge( aHahser );