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

Method get

arrays/CompType.java:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 private static SplittableRandom r =
29 new SplittableRandom(47);
30 public static CompType get() {
31 return new CompType(r.nextInt(100), r.nextInt(100));
32 }
33 public static void main(String[] args) {
34 CompType[] a = new CompType[12];
35 Arrays.setAll(a, n -> get());

Callers 3

mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95

Calls

no outgoing calls

Tested by 1

mainMethod · 0.76