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

Method swap12

chapter19/src/main/java/com/seaofnodes/simple/node/Node.java:578–582  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

576
577 // Swap inputs without letting either input go dead during the swap.
578 Node swap12() {
579 unlock(); // Hash is order dependent
580 _inputs.swap(1,2);
581 return this;
582 }
583
584 /**
585 * Does this node contain all constants? Ignores in(0), as is usually

Callers 6

idealizeMethod · 0.45
idealizeMethod · 0.45
idealizeMethod · 0.45
idealizeMethod · 0.45
idealizeMethod · 0.45
idealizeMethod · 0.45

Calls 2

unlockMethod · 0.95
swapMethod · 0.45

Tested by

no test coverage detected