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

Method rebuild

basex-core/src/main/java/org/basex/query/value/map/XQMap.java:393–398  ·  view source on GitHub ↗
(final Job job)

Source from the content-addressed store, hash-verified

391 }
392
393 @Override
394 protected final XQMap rebuild(final Job job) throws QueryException {
395 final MapBuilder mb = new MapBuilder(structSize());
396 forEach((key, value) -> mb.put(key, value.shrink(job)));
397 return mb.map(this);
398 }
399
400 @Override
401 public final HashMap<Object, Object> toJava() throws QueryException {

Callers 5

shrinkMethod · 0.45
shrinkMethod · 0.45
shrinkMethod · 0.45
shrinkMethod · 0.45
shrinkMethod · 0.45

Calls 5

forEachMethod · 0.95
putMethod · 0.95
mapMethod · 0.95
structSizeMethod · 0.45
shrinkMethod · 0.45

Tested by

no test coverage detected