Claude Warren created COLLECTIONS-763:
-----------------------------------------

             Summary: Remove BloomFilter constructors that create initial entry
                 Key: COLLECTIONS-763
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-763
             Project: Commons Collections
          Issue Type: Improvement
          Components: Collection
    Affects Versions: 4.x
            Reporter: Claude Warren


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 );}}

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to