public void shuffle(Random rand) {
   synchronized (mutex) {
     list.shuffle(rand);
   }
 }