[Solved] Arraylist element index before and after Collections.shuffle in java
If you want to hold on to the original position of the object you need to make a copy of the arraylist before you shuffle it. And then use indexOf solved Arraylist element index before and after Collections.shuffle in java