MCPcopy Create free account
hub / github.com/BirolLab/RNA-Bloom / lookup

Method lookup

src/rnabloom/bloom/BloomFilter.java:163–168  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

161 }
162
163 @Override
164 public boolean lookup(String key) {
165 final long[] hashVals = new long[numHash];
166 hashFunction.getHashValues(key, numHash, hashVals);
167 return lookup(hashVals);
168 }
169
170 public boolean lookup(final long[] hashVals) {
171 for (int h=0; h<numHash; ++h) {

Callers 1

minimalSetMethod · 0.95

Calls 3

getIndexMethod · 0.95
getMethod · 0.65
getHashValuesMethod · 0.45

Tested by

no test coverage detected