📅  最后修改于: 2022-03-11 14:53:23.695000             🧑  作者: Mango
int i = (int)(myArrayList.size() * Math.random()) //you can get the random index
String url = myArrayList.remove(i), //then you can remove that variable from list