MCPcopy Create free account
hub / github.com/LFYSec/MScan / returnLMostThenRMostLoop

Method returnLMostThenRMostLoop

src/test/resources/sideeffect/Loops.java:38–42  ·  view source on GitHub ↗
(Tree x)

Source from the content-addressed store, hash-verified

36 }
37
38 public static Tree returnLMostThenRMostLoop(Tree x) {
39 while (x.l != null) x = x.l;
40 while (x.r != null) x = x.r;
41 return x;
42 }
43
44 public static void setXLToNewLoop(Tree x) {
45 while (x.r != null) {

Callers 2

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected