MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / newPair

Method newPair

patterns/PaperScissorsRock.java:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 return items.get(rand.nextInt(SZ)).get();
27 }
28 public static Tuple2<Item,Item> newPair() {
29 return tuple(newItem(), newItem());
30 }
31}
32
33class Compete {

Callers

nothing calls this directly

Calls 2

newItemMethod · 0.95
tupleMethod · 0.80

Tested by

no test coverage detected