public class UUIDUtils extends Object
该类用于便捷的生成指定格式的 uuid
| 构造器和说明 |
|---|
UUIDUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
random()
UUID
|
static String |
random(int length)
Specified Length By UUID
|
static long |
randomOfLang()
UUID
|
static long |
randomOfLang(int length)
Specified Length By UUID
|
@NonNull public static String random()
public static long randomOfLang()
@NonNull public static String random(int length)
length - lengthpublic static long randomOfLang(int length)
length - lengthCopyright © 2021 HaiChuang Inc.. All rights reserved.