public class RandomSequenceUtils extends Object
| Constructor and Description |
|---|
RandomSequenceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
randomIntSequence(int n)
产生包含 0~n-1 的n个数值的随机序列
|
static int[] |
randomIntSequence(int[] sourceQueue)
乱序一个数组
|
Copyright © 2018–2019. All rights reserved.