MCPcopy
hub / github.com/OpenTSDB/opentsdb / add

Method add

src/utils/ByteSet.java:64–67  ·  view source on GitHub ↗
(final byte[] key)

Source from the content-addressed store, hash-verified

62 }
63
64 @Override
65 public boolean add(final byte[] key) {
66 return map.put(key, PRESENT) == null;
67 }
68
69 @Override
70 public boolean remove(final Object key) {

Callers 15

goodOperationsMethod · 0.95
getTagUidsInQueryTagsMethod · 0.95
getTagUidsInQueryTagsMethod · 0.95
iteratorAllItemsMethod · 0.95
getFilterTagKsMethod · 0.95
loadPluginsMethod · 0.45
searchForJarsMethod · 0.45

Calls 1

putMethod · 0.80

Tested by 8

goodOperationsMethod · 0.76
getTagUidsInQueryTagsMethod · 0.76
getTagUidsInQueryTagsMethod · 0.76
iteratorAllItemsMethod · 0.76