public final class RandomKit extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
lcStr()
获取随机8为数字+字符串(小写)
|
static String |
lcStr(Integer randomLen)
获取随机字符串(小写)
|
static String |
md5Str()
随机字符串再 md5:UUID方式
|
static Integer |
nInt()
获取随机6位数字
|
static Integer |
nInt(Integer randomLen)
获取随机数字
|
static Integer |
range(Integer min,
Integer max)
随机范围内的数
|
static String |
ucStr()
获取随机8为数字+字符串(大写)
|
static String |
ucStr(Integer randomLen)
获取随机字符串(大写)
|
static String |
uuidStr()
随机字符串:UUID方式
|
Copyright © 2020. All rights reserved.