public class RandomUtils extends Object
| 构造器和说明 |
|---|
RandomUtils() |
public static String getRandomNum(int length)
length - 长度public static int nextInt(int start,
int end)
start - 开始end - 结束public static String getRandom(int length, boolean useAlphabet)
length - 长度useAlphabet - 是否使用字母public static String getRandom(int length)
length - 长度public static String getUUID()
Copyright © 2024. All rights reserved.