这可以通过使用shuffle方法来实现,该方法允许您提供支持
Random实例
Collections.shuffle(List<?> list,Randomrnd):
例:
Collections.shuffle(yourList, new Random(somePredefinedSeed));

这可以通过使用shuffle方法来实现,该方法允许您提供支持
Random实例
Collections.shuffle(List<?> list,Randomrnd):
例:
Collections.shuffle(yourList, new Random(somePredefinedSeed));