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

Method lookupThenAdd

src/rnabloom/bloom/BloomFilter.java:143–145  ·  view source on GitHub ↗
(final long hashVal)

Source from the content-addressed store, hash-verified

141 }
142
143 public boolean lookupThenAdd(final long hashVal) {
144 return lookupThenAdd(hashFunction.getHashValues(hashVal, numHash));
145 }
146
147 public boolean lookupThenAdd(final long[] hashVals) {
148 boolean found = true;

Callers 3

addMethod · 0.45
lookupAndAddAllKmersMethod · 0.45

Calls 3

getIndexMethod · 0.95
getHashValuesMethod · 0.45
getAndSetMethod · 0.45

Tested by

no test coverage detected