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

Method value

basex-core/src/main/java/org/basex/query/value/map/XQMap.java:118–125  ·  view source on GitHub ↗

Gets a value from this map. @param key atomic key to look for @return value if found, null otherwise

(final Item key)

Source from the content-addressed store, hash-verified

116 * @return value if found, {@code null} otherwise
117 */
118 public final Value value(final Item key) {
119 try {
120 return getOrNull(key);
121 } catch(final QueryException ex) {
122 // the exception is only caused by atomizing the key
123 throw Util.notExpected(ex);
124 }
125 }
126
127 /**
128 * Returns an iterable instance for all entries of this map.

Callers 15

valueAtMethod · 0.45
itemsMethod · 0.45
valueAtMethod · 0.45
valueAtMethod · 0.45
forEachMethod · 0.45
testMethod · 0.45
writeMethod · 0.45
instanceOfMethod · 0.45
nextMethod · 0.45
coerceToMethod · 0.45
refineTypeMethod · 0.45
stringMethod · 0.45

Calls 2

getOrNullMethod · 0.95
notExpectedMethod · 0.95

Tested by

no test coverage detected