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

Method add

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

Source from the content-addressed store, hash-verified

124 }
125
126 @Override
127 public void add(String key) {
128 final long[] hashVals = new long[numHash];
129 hashFunction.getHashValues(key, numHash, hashVals);
130 add(hashVals);
131 }
132
133 public void add(final long[] hashVals){
134 for (int h=0; h<numHash; ++h) {

Callers 1

minimalSetMethod · 0.95

Calls 3

getIndexMethod · 0.95
getHashValuesMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected