MCPcopy Create free account
hub / github.com/BruceEckel/OnJava8-Examples / main

Method main

enums/RoShamBo1.java:25–28  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

23 a + " vs. " + b + ": " + a.compete(b));
24 }
25 public static void main(String[] args) {
26 for(int i = 0; i < SIZE; i++)
27 match(newItem(), newItem());
28 }
29}
30/* Output:
31Rock vs. Rock: DRAW

Callers

nothing calls this directly

Calls 2

matchMethod · 0.95
newItemMethod · 0.95

Tested by

no test coverage detected