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

Method eval

basex-core/src/main/java/org/basex/query/expr/CmpOp.java:18–21  ·  view source on GitHub ↗
(final int v)

Source from the content-addressed store, hash-verified

16 /** General comparison: less or equal. */
17 LE("<=", "precedes-or-is") {
18 @Override
19 public boolean eval(final int v) {
20 return v != Item.NAN_DUMMY && v <= 0;
21 }
22
23 @Override
24 public boolean eval(final GNode node1, final GNode node2) {

Callers

nothing calls this directly

Calls 2

isMethod · 0.65
compareMethod · 0.45

Tested by

no test coverage detected