MCPcopy Create free account
hub / github.com/BaseXdb/basex / add

Method add

basex-core/src/main/java/org/basex/index/value/MemValues.java:139–146  ·  view source on GitHub ↗
(final ValueCache cache)

Source from the content-addressed store, hash-verified

137 }
138
139 @Override
140 public void add(final ValueCache cache) {
141 for(final byte[] key : cache) {
142 final IntList ids = cache.ids(key);
143 if(!ids.isEmpty()) add(key, ids.sort().finish());
144 }
145 finish();
146 }
147
148 @Override
149 public void delete(final ValueCache cache) {

Callers 1

buildMethod · 0.95

Calls 13

finishMethod · 0.95
sortMethod · 0.95
newCapacityMethod · 0.95
copyFromStartMethod · 0.95
copyOfMethod · 0.80
indexMethod · 0.65
sizeMethod · 0.65
addMethod · 0.65
setMethod · 0.65
getMethod · 0.65
idsMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected