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

Method longArray

arrays/ParallelSetAll.java:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 Arrays.parallelSetAll(ia, new Rand.Pint()::get);
14 }
15 static void longArray() {
16 long[] la = new long[SIZE];
17 Arrays.setAll(la, new Rand.Plong()::get);
18 Arrays.parallelSetAll(la, new Rand.Plong()::get);
19 }
20 public static void main(String[] args) {
21 intArray();
22 longArray();

Callers 1

mainMethod · 0.95

Calls 2

setAllMethod · 0.45
parallelSetAllMethod · 0.45

Tested by

no test coverage detected