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

Method set

basex-core/src/main/java/org/basex/core/Context.java:248–252  ·  view source on GitHub ↗

Sets the current context and marked node set and resets the focus. @param curr context set @param mark marked nodes

(final DBNodes curr, final DBNodes mark)

Source from the content-addressed store, hash-verified

246 * @param mark marked nodes
247 */
248 public void set(final DBNodes curr, final DBNodes mark) {
249 current = curr;
250 marked = mark;
251 focused = -1;
252 }
253
254 /**
255 * Invalidates the current node set. Will be recreated once it is requested.

Callers 4

openDBMethod · 0.95
closeDBMethod · 0.95
histMethod · 0.95
contextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected