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

Method put

basex-core/src/main/java/org/basex/util/options/Options.java:197–199  ·  view source on GitHub ↗

Sets an option to a value without checking its type. @param option option @param value value to be assigned

(final Option<?> option, final Object value)

Source from the content-addressed store, hash-verified

195 * @param value value to be assigned
196 */
197 public final synchronized void put(final Option<?> option, final Object value) {
198 values.put(option.name(), value);
199 }
200
201 /**
202 * Checks if a value was set for the specified option.

Callers 5

parseMethod · 0.95
setMethod · 0.95
assignMethod · 0.95
OptionsMethod · 0.45
toMapMethod · 0.45

Calls 1

nameMethod · 0.65

Tested by

no test coverage detected