public class RandomUtils extends Object
| Constructor and Description |
|---|
RandomUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
shuffleInPlace(int[] toShuffle,
Random random)
Randomly shuffle the specified integer array using a Fisher-Yates shuffle algorithm
|
public static void shuffleInPlace(int[] toShuffle,
Random random)
toShuffle - Array to shufflerandom - RNG to use for shufflingCopyright © 2017. All rights reserved.