Swaps values in the given array @param array the array to swap values in @param rand the source of randomness for shuffling
(int[] array, Random rand)
| 24 | * @param rand the source of randomness for shuffling |
| 25 | */ |
| 26 | static public void shuffle(int[] array, Random rand) |
| 27 | { |
| 28 | shuffle(array, 0, array.length, rand); |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Shuffles the values in the given array |