📅  最后修改于: 2022-03-11 14:58:45.687000             🧑  作者: 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