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

Method oneOf

basex-core/src/main/java/org/basex/query/expr/Calc.java:450–452  ·  view source on GitHub ↗

Checks if this is one of the specified candidates. @param candidates candidates @return result of check

(final Calc... candidates)

Source from the content-addressed store, hash-verified

448 * @return result of check
449 */
450 public boolean oneOf(final Calc... candidates) {
451 return Enums.oneOf(this, candidates);
452 }
453
454 /**
455 * Returns the numeric type with the highest precedence.

Callers 2

optimizeMethod · 0.95
optArithMethod · 0.95

Calls 1

oneOfMethod · 0.95

Tested by

no test coverage detected