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

Method isEmpty

basex-core/src/main/java/org/basex/data/Namespaces.java:79–81  ·  view source on GitHub ↗

Returns if no namespaces exist. Note that the container size does not change if namespaces are deleted. This function is mainly used to decide namespaces need to be considered in query optimizations. @return result of check

()

Source from the content-addressed store, hash-verified

77 * @return result of check
78 */
79 public boolean isEmpty() {
80 return uris.isEmpty();
81 }
82
83 /**
84 * Returns the number of namespaces that have been stored so far.

Callers 13

uriIdForPrefixMethod · 0.95
loopMethod · 0.45
openMethod · 0.45
closeMethod · 0.45
normPathMethod · 0.45
addToPathMethod · 0.45
readMethod · 0.45
rootMethod · 0.45
openMethod · 0.45
tableMethod · 0.45
qnameMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected