MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / swap12

Method swap12

chapter21/src/main/java/com/seaofnodes/simple/node/Node.java:650–654  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

648
649 // Swap inputs without letting either input go dead during the swap.
650 public Node swap12() {
651 unlock(); // Hash is order dependent
652 _inputs.swap(1,2);
653 return this;
654 }
655
656 /**
657 * Does this node contain all constants? Ignores in(0), as is usually

Callers 10

splitByLoopMethod · 0.45
runMethod · 0.45
idealizeMethod · 0.45
idealizeMethod · 0.45
idealizeMethod · 0.45
idealizeMethod · 0.45
idealizeMethod · 0.45
idealizeMethod · 0.45
negateMethod · 0.45
cmpMethod · 0.45

Calls 2

unlockMethod · 0.95
swapMethod · 0.45

Tested by

no test coverage detected