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

Method match

enums/RoShamBo1.java:21–24  ·  view source on GitHub ↗
(Item a, Item b)

Source from the content-addressed store, hash-verified

19 }
20 }
21 public static void match(Item a, Item b) {
22 System.out.println(
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());

Callers 1

mainMethod · 0.95

Calls 1

competeMethod · 0.65

Tested by

no test coverage detected