【Java】shuffle随机打乱数组List

137 阅读1分钟

引入:

import java.util.Collections;

实现:

Collections.shuffle(list);