Setting a seed to shuffle ArrayList in Java deterministically
This is possible by using the shuffle method that allows you to provide the backing Random instance: Collections.shuffle(List<?> list, Random rnd): Example: Collections.shuffle(yourList, new Random(somePredefinedSeed));