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

Method main

generics/PrimitiveGenericTest.java:30–37  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

28
29public class PrimitiveGenericTest {
30 public static void main(String[] args) {
31 String[] strings = FillArray.fill(
32 new String[5], new Rand.String(9));
33 System.out.println(Arrays.toString(strings));
34 int[] integers = FillArray.fill(
35 new int[9], new Rand.Pint());
36 System.out.println(Arrays.toString(integers));
37 }
38}
39/* Output:
40[btpenpccu, xszgvgmei, nneeloztd, vewcippcy, gpoalkljl]

Callers

nothing calls this directly

Calls 2

fillMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected