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

Method invert

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

Inverts the boolean value of an option. @param option option @return new value

(final BooleanOption option)

Source from the content-addressed store, hash-verified

499 * @return new value
500 */
501 public final synchronized boolean invert(final BooleanOption option) {
502 final boolean val = !get(option);
503 set(option, val);
504 return val;
505 }
506
507 /**
508 * Overwrites the options with global options and system properties.

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected