()
| 8 | public class ParallelSetAll { |
| 9 | static final int SIZE = 10_000_000; |
| 10 | static void intArray() { |
| 11 | int[] ia = new int[SIZE]; |
| 12 | Arrays.setAll(ia, new Rand.Pint()::get); |
| 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); |
no test coverage detected