What is the fastest way to change the order of elements in an ArrayList?

后端 未结 0 932
长发绾君心
长发绾君心 2021-01-17 16:40

I have a first ArrayList:

ArrayList moves = new ArrayList<>();

and want to reorder the elements randomly into a second one:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题