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

Method remove

basex-core/src/main/java/org/basex/util/Atts.java:91–99  ·  view source on GitHub ↗

Removes the element at the specified position. @param index entry index @return self reference

(final int index)

Source from the content-addressed store, hash-verified

89 * @return self reference
90 */
91 public Atts remove(final int index) {
92 final byte[][] lst = list;
93 final int s = size;
94 Array.remove(lst, index, 2, s);
95 lst[s - 2] = null;
96 lst[s - 1] = null;
97 size = s - 2;
98 return this;
99 }
100
101 /**
102 * Checks if the specified name is found.

Callers

nothing calls this directly

Calls 1

removeMethod · 0.95

Tested by

no test coverage detected