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

Method oneOf

basex-core/src/main/java/org/basex/query/expr/CmpOp.java:229–231  ·  view source on GitHub ↗

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

(final CmpOp... candidates)

Source from the content-addressed store, hash-verified

227 * @return result of check
228 */
229 public boolean oneOf(final CmpOp... candidates) {
230 return Enums.oneOf(this, candidates);
231 }
232}

Callers

nothing calls this directly

Calls 1

oneOfMethod · 0.95

Tested by

no test coverage detected