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

Method contains

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

Checks if the specified name is found. @param name name to be found @return result of check

(final byte[] name)

Source from the content-addressed store, hash-verified

104 * @return result of check
105 */
106 public boolean contains(final byte[] name) {
107 return get(name) != -1;
108 }
109
110 /**
111 * Returns the offset to the specified name.

Callers 5

dirElementMethod · 0.95
namespacesMethod · 0.95
nsScopeMethod · 0.95
buildMethod · 0.95
addMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected