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

Method id

basex-core/src/main/java/org/basex/data/Data.java:301–303  ·  view source on GitHub ↗

Returns a unique node ID. @param pre PRE value @return node ID

(final int pre)

Source from the content-addressed store, hash-verified

299 * @return node ID
300 */
301 public final int id(final int pre) {
302 return table.read4(pre, 12);
303 }
304
305 /**
306 * Returns the node kind ({@link #DOC}, {@link #ELEM}, {@link #TEXT}, {@link #ATTR},

Callers 5

preMethod · 0.95
replaceMethod · 0.95
deleteMethod · 0.95
insertMethod · 0.95
idMethod · 0.95

Calls 2

read4Method · 0.45
write4Method · 0.45

Tested by

no test coverage detected