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

Method parent

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

Returns the parent for the specified node. @param data data reference @param pre child node @return parent node

(final Data data, final int pre)

Source from the content-addressed store, hash-verified

139 * @return parent node
140 */
141 public static int parent(final Data data, final int pre) {
142 return data.parent(pre, data.kind(pre));
143 }
144
145 /**
146 * Returns the size for the specified node.

Callers 11

paintComponentMethod · 0.95
drawEntryMethod · 0.95
jumpToMethod · 0.95
leafMethod · 0.45
pathMethod · 0.45
refreshTreeMethod · 0.45
getRootMethod · 0.45
EditorAreaMethod · 0.45
refreshHistoryMethod · 0.45
moreDataMethod · 0.45
TreeNodeCacheMethod · 0.45

Calls 1

kindMethod · 0.65

Tested by

no test coverage detected