MCPcopy Index your code
hub / github.com/apache/groovy / next

Method next

benchmark/bench/pidigits.java:43–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 public int next(){
44 int y = digit();
45 if (isSafe(y)){
46 z = produce(y); return y;
47 } else {
48 z = consume( x.next() ); return next();
49 }
50 }
51
52 public int digit(){
53 return z.extract(3);

Callers 5

mainMethod · 0.95
mainMethod · 0.45
intersectMethod · 0.45
possibleMovesMethod · 0.45
mainMethod · 0.45

Calls 4

digitMethod · 0.95
isSafeMethod · 0.95
produceMethod · 0.95
consumeMethod · 0.95

Tested by

no test coverage detected