MCPcopy Index your code
hub / github.com/MagnusS/Java-BloomFilter / contains

Method contains

src/com/skjegstad/utils/BloomFilter.java:330–332  ·  view source on GitHub ↗

Returns true if the element could have been inserted into the Bloom filter. Use getFalsePositiveProbability() to calculate the probability of this being correct. @param element element to check. @return true if the element could have been inserted into the Bloom filter.

(E element)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

testAddMethod · 0.95
testAddAllMethod · 0.95
testContainsMethod · 0.95
testContains_byteArrMethod · 0.95
mainMethod · 0.95
containsAllMethod · 0.95

Calls 1

createHashesMethod · 0.95

Tested by 6

testAddMethod · 0.76
testAddAllMethod · 0.76
testContainsMethod · 0.76
testContains_byteArrMethod · 0.76