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

Method returnLMostLoop

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

Source from the content-addressed store, hash-verified

14
15public class Loops {
16 public static Tree returnLMostLoop(Tree x) {
17 while (x.l != null) x = x.l;
18 return x;
19 }
20
21 public static Tree returnRMostLoop(Tree x) {
22 while (x.r != null) x = x.r;

Callers 2

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected