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

Method sizeID

basex-core/src/main/java/org/basex/gui/view/ViewData.java:131–133  ·  view source on GitHub ↗

Returns the size ID of the specified node. @param data data reference @return size ID, or 0 if key does not exist

(final Data data)

Source from the content-addressed store, hash-verified

129 * @return size ID, or {@code 0} if key does not exist
130 */
131 public static int sizeID(final Data data) {
132 return data.attrNames.index(T_SIZE);
133 }
134
135 /**
136 * Returns the parent for the specified node.

Callers 1

weightMethod · 0.95

Calls 1

indexMethod · 0.65

Tested by

no test coverage detected