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

Method swap

basex-core/src/main/java/org/basex/query/expr/If.java:145–149  ·  view source on GitHub ↗

Swaps the arguments.

()

Source from the content-addressed store, hash-verified

143 * Swaps the arguments.
144 */
145 public void swap() {
146 final Expr tmp = exprs[0];
147 exprs[0] = exprs[1];
148 exprs[1] = tmp;
149 }
150
151 @Override
152 public Iter iter(final QueryContext qc) throws QueryException {

Callers 4

optimizeMethod · 0.95
ifToWhereMethod · 0.95
optimizeMethod · 0.45
optimizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected