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

Method increment

basex-core/src/main/java/org/basex/index/IdPreMap.java:272–277  ·  view source on GitHub ↗

Increments the pre- and inc-values of all tuples starting from the given index. @param from start index @param with increment value

(final int from, final int with)

Source from the content-addressed store, hash-verified

270 * @param with increment value
271 */
272 private void increment(final int from, final int with) {
273 for(int i = from; i < rows; ++i) {
274 pres[i] += with;
275 incs[i] += with;
276 }
277 }
278
279 /**
280 * Returns the size of the map.

Callers 2

insertMethod · 0.95
deleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected